mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[GH-ISSUE #8411] Final chat results won't show until browser refresh with a complex Pipe in version 0.5.x #53780
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 @kellyaa on GitHub (Jan 8, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/8411
Bug Report
Installation Method
pip install with Python 3.11
Environment
Open WebUI Version: 0.5.4
Ollama (if applicable): 0.5.4
Operating System: Mac OSX Sonoma (M3 max chip with 64GB of RAM)
Browser (if applicable): Firefox & Chrome
Confirmation:
Expected Behavior:
When using a pipe that emits several status messages before ultimately returning the final chat results, I would expect to see every status message emitted and the final chat result show up, without refreshing the browser.
Actual Behavior:
Status messages begin being shown in the browser, but after the first few, they stop being received, even though I can see in the Open WebUI server logs that they are being emitted. I can see in the server logs when the final chat response is returned, however it is not automatically displayed in the chat when. When I refresh the browser window, however, it does fetch the final chat result. However the interim event messages are gone.
Description
Reproduction Details
Steps to Reproduce:
This behavior is produced when using a specific Pipe that I authored. It is a fairly involved pipe that makes several calls to the LLM in succession. It worked fine in Open WebUI 0.4.x - I never needed to refresh the browser to see the chat result. I am also using a local model with Ollama. Here is the link to the source code you can run: https://github.com/ibm-granite-community/granite-retrieval-agent
Logs and Screenshots
Screenshots/Screen Recordings (if applicable):

Before refreshing the browser... The status messages start showing up but stop after the first few:
After refreshing the browser.. I can see the final chat result
