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
bennykok
e87bb63c6f
fix(plugin): is_realtime check failed causing everything to not upload
2024-02-25 22:48:22 -08:00
bennykok
a643fa0999
fix(plugin): remove file upload + status update from is_realtime prompt
2024-02-25 17:25:41 -08:00
bennykok
cc31840d41
fix(plugin): comfy_deploy_check_ws_status
2024-02-25 00:18:07 -08:00
bennykok
25e62af24c
refactor(plugin): add prompt_metadata types and refactor from dict to data model
2024-02-24 23:57:32 -08:00
bennykok
ec620dbc53
feat(plugin): load workflow from ws url params
2024-02-24 13:29:56 -08:00
bennykok
ddbf6848a7
feat(plugin): add output ws image node
2024-02-23 14:03:12 -08:00
bennykok
f3370c1bb1
feat: add new dependency viewer, reused previous cache for faster deploy
2024-02-17 14:46:14 +08:00
bennykok
08fe87c8af
fix(plugin): cached execution progress update
2024-02-09 22:13:43 +08:00
bennykok
d43e5fcefc
fix: live status not sending, add progress
2024-02-09 21:52:48 +08:00
bennykok
7e86c20383
fix(plugin): ensure the status of run is set to fail if the prompt validation failed
2024-02-07 23:51:29 +08:00
bennykok
3adf77617b
fix(plugin): async file upload to make sure it is not blocking
2024-02-07 23:51:29 +08:00
bennykok
d473a211d0
fix: running locally cause a crash in after adding live status
2024-02-07 14:37:49 +08:00
bennykok
0f58fbcebd
chore: update add live status
2024-02-05 23:28:18 +08:00
bennykok
4348ab45dc
feat: introduce dependencies upload
2024-02-05 16:47:21 +08:00