mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-10 07:43:10 -05:00
Bad performance when sending more than 100 lines #3056
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 @mkroman on GitHub (Dec 21, 2024).
Bug Report
When I try to start a new chat containing more than a couple of hundreds of lines, the browser freezes for several seconds before actually sending the request to the backend.
Installation Method
I'm running Open WebUI in a Docker container, with host network access, which is where ollama is running.
Environment
Confirmation:
Expected Behavior:
The experience should be smooth and the request should be sent immediately.
Actual Behavior:
The browser hangs for several seconds before sending the request.
Description
Bug Summary:
When I try to start a new chat containing more than a couple of hundreds of lines, the browser freezes for several seconds before actually sending the request to the backend.
Reproduction Details
Steps to Reproduce:
prompt.txtAdditional Information
I profiled the process and the result can be viewed here.
prompt.txt