113 Commits

Author SHA1 Message Date
bennykok
086d642360 Merge branch 'benny/log-sync' into public-main 2024-09-17 14:27:59 -07:00
bennykok
212daa838c Revert "feat: experiment with await + asyncio.gather for multi file in same node"
This reverts commit c08b68c41f8f0bae587675f7592dcdde28d09627.
2024-09-17 14:25:13 -07:00
bennykok
c08b68c41f feat: experiment with await + asyncio.gather for multi file in same node 2024-09-17 12:56:42 -07:00
bennykok
5a78ca97bd fix: roll back to unique session per request 2024-09-16 23:57:40 -07:00
bennykok
1f5a88b888 Revert "fix: back to sequential file upload"
This reverts commit 3d099f88ea8799a80be9b860793e9c64a7cf4843.
2024-09-16 23:55:16 -07:00
bennykok
946571e32e fix: await 2024-09-16 18:54:05 -07:00
bennykok
e692beb009 feat: realtime log sync 2024-09-16 15:34:20 -07:00
bennykok
3d099f88ea fix: back to sequential file upload 2024-09-16 13:55:02 -07:00
karrix
65f7576748 fix: non type error when upload output 2024-09-16 12:45:53 -07:00
bennykok
4df9d38e56 feat: embed file public status into image output 2024-09-03 23:07:48 -07:00
bennykok
9cd626e1f6 feat: send token for cd update api 2024-09-03 21:58:39 -07:00
bennykok
503dca8fb6 chore: add log 2024-08-30 12:16:41 -07:00
bennykok
73c149b4cb fix node meta 2024-08-30 12:16:41 -07:00
bennykok
65b5b0b8c7 fix: remove content length 2024-08-30 12:16:41 -07:00
bennykok
9d6ee85402 fix: upload file acl 2024-08-30 12:16:41 -07:00
bennykok
cdaed8a571 fix: include upload time 2024-08-30 12:16:41 -07:00
bennykok
3129e89cce fix: log file error log 2024-08-30 12:16:41 -07:00
bennykok
7a693eabc8 fix: size 2024-08-30 12:16:41 -07:00
bennykok
8f677e520d chore: log more test for upload file debug 2024-08-30 12:16:41 -07:00
bennykok
4c8d32c5b0 fix 2024-08-30 12:16:41 -07:00
nick
edff5685f9 fix: random seed 2024-08-22 17:39:03 -07:00
bennykok
9fc0c2b4a2 chore: upload node data 2024-08-21 16:34:25 -07:00
bennykok
d34e2e99b1 fix: external lora for new comfyui 2024-08-21 09:46:13 -07:00
bennykok
08d631d1eb feat: async file upload for the same node 2024-08-20 17:07:50 -07:00
bennykok
507d5ef631 feat: add a init timeout of 10 seconds for retry logic 2024-08-18 17:31:48 -07:00
bennykok
dd1d9df23f fix: resolve false possible error 2024-08-18 15:38:16 -07:00
bennykok
3a14e49ca5 fix: refresh workflows list 2024-08-17 16:04:14 -07:00
bennykok
10268825d9 feat: support new frontend! 2024-08-14 11:09:58 -07:00
bennykok
f6ea252652 fix: log when random seed is applied 2024-08-10 10:35:48 -07:00
bennykok
98cd5ef79c fix: randomize noise RandomNoise, KSamplerAdvanced, SamplerCustom 2024-08-10 10:02:01 -07:00
nick
0582d1d869 merge 2024-08-07 20:43:38 -07:00
nick
ce073a86c7 block on bad prompt 2024-08-07 20:42:12 -07:00
bennykok
01e323b7e2 fix: excessive log 2024-08-03 22:22:06 -07:00
bennykok
db684d044a fix: not yield 2024-08-03 21:56:16 -07:00
BennyKok
8e12803ea1
Retry logic when calling api (#57)
* fix: retry logic, bypass logfire, clean up log

* fix: max_retries and retry_delay_multiplier, do not throw when pass the retry failed
2024-08-01 20:43:21 -07:00
bennykok
4f1a80fb64 fix: log issues with websocket 2024-07-22 13:36:39 -07:00
bennykok
6fa38e9bb8 fix 2024-07-13 19:17:30 -07:00
BennyKok
a2ac1adf01
Streaming support (#52)
* feat: add streaming endpoint

* fix: run issues

* feat(plugin): add dispatchAPIEventData

* fix(plugin): event

* fix: streaming event format

* fix: prompt error

* fix: node_error proxy

* chore(plugin): add log

* custom route

---------

Co-authored-by: nick <kobenkao@gmail.com>
2024-07-11 20:03:41 -07:00
Emmanuel Morales
716790e344
fix(media upload): skip when using the CD_BYPASS_UPLOAD env var (#51)
* fix(image upload): skip when using the CD_BYPASS_UPLOAD env var

* Revert "fix(image upload): skip when using the CD_BYPASS_UPLOAD env var"

This reverts commit 384eda63e6fec6977db3f9e9ba655e0db0719578.

* fix(upload outputs): skip images/gifs/files/mesh when env var is true

The env var is `CD_BYPASS_UPLOAD`.
When that variables is `True`, we don't upload the media to our comfy
deploy s3 bucket.

There are 2 steps.
1. save the file into our s3 bucket
2. save the saving into our database.

When `CD_BYPASS_UPLOAD` is True:
1. Skip the save file into our s3 bucket
2. Skip the save into our database

Previously we were skipping the step 1, but not the step 2. So that is
the reason of why we keep seeing the comfy deploy URL when fetching the
run details:

```
outputs: [
  {
    data:{
      gifs: [
        {
          url: "https://comfy-deploy-output.s3.amazonaws.com/video.mp4"
        }
      ],
      text: [
        "A text that you displayed with show text node"
      ]
    }
  }
]
```

With the new changes we don't save that into our database, and fetching
the details of a run will look like this:
```
outputs: [
  {
    data:{
      text: [
        "A text that you displayed with show text node"
      ]
    }
  }
]
```
2024-07-07 22:04:00 -07:00
nick
c6fe88bf66 new route 2024-06-15 17:29:51 -07:00
bennykok
9b24b12006 fix: file upload issues with cloudflare 2024-06-11 17:42:52 -07:00
bennykok
ff70bbdcec fix: correctly set the file content type for images, webp, jepg, png 2024-05-29 08:59:53 -07:00
karrix
07a7feb6ac add: slider number support 2024-05-11 14:50:46 +08:00
bennykok
c5ac1b5f94 perf: turn back on async file upload 2024-05-10 13:08:37 +09:00
bennykok
00d827e232 feat: CD_BYPASS_UPLOAD 2024-05-10 11:36:00 +09:00
karrix
6b9c431df8 add: boolean input and 3d mesh support 2024-05-09 14:25:22 +08:00
bennykok
cd5e4a5d01 fix: duplicated file upload 2024-04-25 16:14:14 +08:00
bennykok
95c15f095d chore: add file upload time log 2024-04-25 15:55:34 +08:00
nick
b4c27bbbea fix: external lora 2024-04-24 23:27:01 -07:00
bennykok
810aec5135 fix: empty inputs causing run issues 2024-04-25 13:15:55 +08:00