mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 19:08:59 -05:00
[GH-ISSUE #9893] Input Latency in Chat Box Due to Autocomplete Suggestion Matching (v0.5.11) #15687
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 @cr-zhichen on GitHub (Feb 13, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/9893
Installation Method
Docker-compose
Environment
Expected Behavior
Responsive text input with smooth autocomplete suggestions.
Actual Behavior
Severe input lag when typing/pasting long text (>500 characters) in chat input box.
Bug Analysis
Performance profiling identifies the
search()function in the real-time suggestion matching feature as the primary bottleneck:search()callsReproduction Steps
Evidence

Performance profile showing
search()dominance:@tjbck commented on GitHub (Feb 13, 2025):
You can disable rich text input.
@cr-zhichen commented on GitHub (Feb 13, 2025):
In my OpenWebUI, the rich text input feature has never been enabled. I believe this issue was introduced in version 0.5.10. When typing in the input box of a new conversation, the frontend's matching of prompt suggestions causes a significant performance degradation.