mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-27 17:04:57 -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
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.