mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 02:48:13 -05:00
[PR #20182] [CLOSED] fix: filter ComfyUI output to only SaveImage/PreviewImage nodes #25494
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?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/20182
Author: @MirrorDNA-Reflection-Protocol
Created: 12/26/2025
Status: ❌ Closed
Base:
dev← Head:fix/comfyui-duplicate-images-20158📝 Commits (9)
fe6783cMerge pull request #19030 from open-webui/devfc05e0aMerge pull request #19405 from open-webui/deve3faec6Merge pull request #19416 from open-webui/dev9899293Merge pull request #19448 from open-webui/dev140605eMerge pull request #19462 from open-webui/dev6f1486fMerge pull request #19466 from open-webui/devd95f533Merge pull request #19729 from open-webui/deva7271530.6.43 (#20093)e44cd99fix: filter ComfyUI output to only SaveImage/PreviewImage nodes (#20158)📊 Changes
1 file changed (+4 additions, -3 deletions)
View changed files
📝
backend/open_webui/utils/images/comfyui.py(+4 -3)📄 Description
Pull Request Checklist
devbranch.fix:prefix.Changelog Entry
Description
Fixes #20158 — When using complex ComfyUI workflows, Open WebUI was displaying multiple duplicate images from internal processing nodes (masks, crops, segmentation previews) instead of just the final output images.
Fixed
get_images()function that was iterating overhistory['outputs']twiceclass_typeofSaveImageorPreviewImageMaskToImage,CutByMask, orFaceSegmentationfrom appearing in chatAdditional Information
File Changed:
backend/open_webui/utils/images/comfyui.pyBefore:
After:
Contributor License Agreement
By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), and I am providing my contributions under its terms.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.