Comfy-Org / Comfy-Org/ComfyUI

POST validation

Open
#9,076 0 comments 0 reactions 0 assignees View on GitHub
bug-cop:triaged Feature
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 7h
Merged PRs (30d)
158

Description

### Feature Idea

for headless pipelines, partially failed prompt validations do not return [error](https://github.com/comfyanonymous/ComfyUI/blob/e6d9f6274494c5ac96295deb1bea54de50189059/execution.py#L1000) from post("/prompt"), comfy just prints logging.error message and submits whatever is renderable.

### Existing Solutions

adding a POST [validation](https://github.com/comfyanonymous/ComfyUI/blob/e6d9f6274494c5ac96295deb1bea54de50189059/server.py#L684) endpoint will help the client check before sending a prompt if there is any issue in the workflow

### Other

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.