146 Commits

Author SHA1 Message Date
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
bennykok
797180b5c7 feat(plugin): add external image batch 2024-04-24 21:48:56 +08:00
bennykok
35fed9aa4d fix: failed case marked as success 2024-04-20 01:38:31 +08:00
bennykok
7d2c521645 chore: clean up custom node log 2024-04-14 15:59:33 +08:00
bennykok
f363b7e871 fix: make sure to skip the temp file. 2024-04-14 00:24:21 +08:00
bennykok
1b25cfdd6c feat: add file hash cache, workflow deployment will be faster
# Conflicts:
#	.gitignore
2024-04-12 19:53:03 +08:00
bennykok
5da56b5507 chore: tweak log 2024-04-12 18:43:24 +08:00
bennykok
03d12e4099 fix!: skipping preview image as save node 2024-04-12 13:34:27 +08:00
bennykok
7189f13263 fix: added queue_prompt from event, now input and image will not trigger queue prompt 2024-03-18 14:31:43 -07:00
bennykok
e73392ba8b fix(plugin): external checkpoint fixes 2024-03-08 14:35:44 -08:00
bennykok
1bfbd91708 feat(plugin): add models endpoints for listing out all folder paths for debug usecase 2024-03-03 16:17:43 -08:00
bennykok
a640e1eb79 fix(plugin): kill pending prompt if new streaming prompts comes in 2024-03-02 12:44:42 -08:00
bennykok
3df549c25c feat: add ws streaming input 2024-03-02 00:47:28 -08:00
bennykok
619a9728c0 fix(plugin): prompt expansion node seed generation error 2024-02-29 19:09:33 -08:00
bennykok
2d59fd2b1b feat(plugin): update run status for ws request 2024-02-27 19:45:10 -08:00
bennykok
7b653201ae fix(plugin): update prompt metadata status properly with realtime prompt 2024-02-26 00:09:56 -08:00
bennykok
1c9c32e9e4 fix(plugin): client id wrongly set causing not sending out ws event 2024-02-25 23:52:20 -08:00
bennykok
97096a9035 feat(plugin): send live_status and elapsed_time 2024-02-25 22:48:22 -08:00