mirror of
https://github.com/open-webui/open-webui.git
synced 2026-06-03 07:24:59 -05:00
[GH-ISSUE #20196] Open WebUI hangs streaming when pipe returns AsyncGenerator (UI stuck “executing”) #34649
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 @dhaern on GitHub (Dec 27, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/20196
Check Existing Issues
Installation Method
Pip Install
Open WebUI Version
v0.6.43
Ollama Version (if applicable)
No response
Operating System
Ubuntu 24.04 ARM64
Browser (if applicable)
Zen Browser
Confirmation
README.md.Expected Behavior
Streaming responses from a pipe should complete and the UI should exit “executing/streaming” state when the model finishes.
Actual Behavior
When a pipe returns an AsyncGenerator, the UI stays in “executing” indefinitely after the response text has already finished. Reloading the page can cause the response to disappear while the request still appears active.
Steps to Reproduce
Logs & Screenshots
Server log shows finishReason=STOP from the pipe stream (example line): ...[Antigravity Internal] Stream finishReason=STOP
No [DONE] or completion signal is observed at the UI level.
Additional Information
Environment is non-Docker, systemd-managed.
Problem is pipe-specific: switching the pipe back to synchronous generator (def pipe returning Generator) fixes the issue.
This suggests Open WebUI v0.6.43 does not reliably finalize AsyncGenerator streams for custom pipes.
It is not limited to a specific model; any pipe returning AsyncGenerator reproduces.
@owui-terminator[bot] commented on GitHub (Dec 27, 2025):
🔍 Similar Issues Found
I found some existing issues that might be related to this one. Please check if any of these are duplicates or contain helpful solutions:
#20155 issue:
by dhaern • Dec 24, 2025 •
bug#20107 issue:
by mengdeer589 • Dec 22, 2025 •
bug#20019 issue:
by j63440490 • Dec 17, 2025 •
bug#19777 issue:
by Yaute7 • Dec 05, 2025 •
bug#19877 issue:
by dotmobo • Dec 11, 2025 •
bugShow 5 more related issues
#19864 issue:
by Haervwe • Dec 10, 2025 •
bug#20092 issue:
by VideoRyan • Dec 22, 2025 •
bug#19861 issue:
by QuitHub • Dec 10, 2025 •
bug#20046 issue:
by pierrelouisbescond • Dec 19, 2025 •
bug#19563 issue:
by naruto7g • Nov 28, 2025 •
bug💡 Tips:
This comment was generated automatically by a bot. Please react with a 👍 if this comment was helpful, or a 👎 if it was not.
@tjbck commented on GitHub (Jan 1, 2026):
@dannyl1u @silentoplayz confirmation wanted here
@dhaern could you provide the exact function with us?