mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 19:38:46 -05:00
[GH-ISSUE #22882] issue: Empty finalized assistant response remains in loading skeleton state #35363
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 @ultramancode on GitHub (Mar 20, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/22882
Check Existing Issues
Installation Method
Git Clone
Open WebUI Version
v0.8.10
Ollama Version (if applicable)
No response
Operating System
Docker(Linux container)
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
When an assistant response finishes with empty content, the message should finalize clearly instead of looking like it is still loading.
Actual Behavior
If the assistant completion ends with empty content, the message bubble can keep showing the loading skeleton even after the request is finished.
This looks like an infinite loading state, although generation has already completed.
Steps to Reproduce
Send the prompt: "Respond with an empty string. Output nothing at all"
Observe the assistant message area:
Logs & Screenshots
[Browser console screenshot]
Backend logs show no server error;
/api/chat/completions returned 200 and the assistant message was persisted as done=true with empty content.
Additional Information
I have a fix ready and will open a PR shortly.
@ultramancode commented on GitHub (Mar 20, 2026):
I opened a follow-up PR for this issue: #22883