mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-16 06:03:26 -05:00
[GH-ISSUE #10602] When generating images, the thinking process is also sent to ComfyUI #15952
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 @lzf-tech on GitHub (Feb 23, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/10602
When generating images, the thinking process is also sent to ComfyUI. I don't think the thinking process should be sent. Can this be fixed?
@sanjibnarzary commented on GitHub (Feb 23, 2025):
As per as comfyui is concerned I think without knowing your workflow json it is difficult to identify.
@lzf-tech commented on GitHub (Feb 23, 2025):
I don't think it's necessary to handle this from the perspective of ComfyUI. Instead, it should be handled on the WebUI side. When users directly click on the generated images in the reply based on the generated content, the WebUI doesn't need to send the content of the thinking label to ComfyUI.
@rgaricano commented on GitHub (Feb 23, 2025):
As "thinking" process/tags are adopted by diferent system a easy way to deal with this is apply a input filter to comfy workflow:
https://github.com/stavsap/comfyui-ollama/issues/84
(maybe in some ways this "thinking info" could be usefull for comfy specific workflows)
@michaelmarziani commented on GitHub (Feb 24, 2025):
I'm not able to reproduce this with my setup. I followed the instructions to set up the ComfyUI integration and in the terminal I see what looks like the JSON being sent to ComfyUI and there's nothing that looks like a thinking process in the prompt or other JSON fields.
Could you please post your logs that show this?
@lzf-tech commented on GitHub (Feb 24, 2025):
@michaelmarziani commented on GitHub (Feb 27, 2025):
Hi @lzf-tech, thanks for the screenshot but I was looking for console or terminal logs. What we see in your screenshot is the users view of the thought process in the Web UI interface, but that doesn't mean this is what is sent to the image API. To see that, you'd need to access the console logs. I don't know what your setup is; I installed open-webui directly, without docker, so I can see the console logs in my terminal after running
open-webui serve.Do you have any terminal logs you can post when you run an image generation?