mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 19:38:46 -05:00
[GH-ISSUE #14538] issue: ComfyUI Integration Relies on Ouput Node Being Last Node in Workflow JSON #55961
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @xcjs on GitHub (May 30, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/14538
Originally assigned to: @jackthgu on GitHub.
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.6.13
Ollama Version (if applicable)
N/A
Operating System
Ubuntu 22.04
Browser (if applicable)
N/A
Confirmation
README.md.Expected Behavior
I expect Open Web UI to either correctly identify the output node of a workflow JSON or allow the user to specify the node ID of the output node.
Actual Behavior
What appears to be happening is that Open Web UI assumes the last ordered node in the JSON is the output node. While this happens a majority of the time, it doesn't always.
Steps to Reproduce
working.json
not-working.json
Logs & Screenshots
No error message occurs, so I haven't attached any logs. I've verified that Open Web UI communicates with my ComfyUI instance and it does render an image with the correct prompt.
Additional Information
I've attached two ComfyUI API workflow JSON - one I've confirmed to work, and one that doesn't. The only difference is in the order of the nodes included in the workflow JSON. As mentioned, both orders are exportable and valid in ComfyUI.
@tjbck commented on GitHub (Jun 30, 2025):
We tried to reproduce this issue using a default template that comes with by swapping the items around but weren't able to reproduce. Could you share a minimal version of non-working workflow json with us that doesn't require any additional dependency installation from our end?
Here's the one we tried:
@xcjs commented on GitHub (Jul 3, 2025):
Sure! Give me a week or so to look into this.
@xcjs commented on GitHub (Jul 10, 2025):
I haven't forgotten this, but I've had some obligations in my personal life delay this. I definitely want to get to the bottom of this. I'll try to verify before the end of July.
@xcjs commented on GitHub (Aug 5, 2025):
I think with the changes to the ComfyUI API, this issue can be considered obsolete. The new API specifies which node is the output node.