mirror of
https://github.com/open-webui/open-webui.git
synced 2026-06-02 23:08:26 -05:00
UI shows result much slower than it is generated #13
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 @lbenedetto on GitHub (Oct 27, 2023).
Describe the bug
The UI looks like it is loading tokens in from the server one at a time, but it's actually much slower than the model is running. Sometimes it speeds up a bit and loads in entire paragraphs at a time, but mostly it runs painfully slowly even after the server has finished responding
In the console logs I see it took 19.5 seconds to generate the response:
And in the network console in the browser, I see that the chunked response streamed in over the course of 21 seconds.
However, the UI took several minutes to display the full prompt. During that time there was no further network traffic until the automatic prompt for the chat title.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
When the server is finished streaming the prompt to the client, the full prompt should be displayed.
Screenshots

Desktop (please complete the following information):
@tjbck commented on GitHub (Oct 27, 2023):
Hi, could you also tell us the model you're using? Or maybe even a video demonstrating the issue you're experiencing? I cannot reproduce the issue and also for most other people the WebUI seems to work just fine. Keep us updated. Thanks.
@lbenedetto commented on GitHub (Oct 27, 2023):
dolphin2.1-mistral:latestThe model shouldn't matter since I can see the complete response sitting in the Network tab while the UI is still working on rendering it one token at a time.
I'll put together a demo video.
@tjbck commented on GitHub (Oct 27, 2023):
Also if you have other computers available please try the Web UI on other devices and see if it experiences the same issues. Thanks!
@lbenedetto commented on GitHub (Oct 27, 2023):
I tried it in Firefox and it works fine.
I've tried disabling all my Chrome extensions in Vivaldi but it was still broken. So I guess it's confirmed to be a Vivaldi issue.
Did you try to reproduce the issue in Vivaldi?
@tjbck commented on GitHub (Oct 27, 2023):
Haven't tried with vivaldi, but I'm guessing it might have something to do with the VPN feature. Were you able to rule that out?
@lbenedetto commented on GitHub (Oct 27, 2023):
I don't know what you're referring to. I'm not aware of any VPNs on my system.
@tjbck commented on GitHub (Oct 28, 2023):
Tried Vivaldi on Mac M1 and other Macs, No issues for me. Keep us updated if you manage to find the issue. Thanks.
@JaminJiang commented on GitHub (Aug 19, 2024):
I have encounter the same promblem on Mac Chrome. Have you figured it out? Do you know why and how to fix it? @lbenedetto
@loteque commented on GitHub (Dec 29, 2024):
here is an example video that shows the issue:
https://github.com/user-attachments/assets/d32d3db4-b80b-4e97-9994-6018c767f8f1
@maurerle commented on GitHub (Apr 8, 2025):
I can confirm that this is not an issue.
@loteque what you see is the previous prompt.
You do have an open Websocket connection (see status code 101 in network tab) with path wss://myhost/ws/socket.io/?EIO=4&transport=websocket
To which the current output is streamed.
You do need to open the network tab, then press F5 to see all requests from the start of visiting a website.
The speed on the network tab is the same as shown in the UI.