mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-10 05:49:13 -05:00
[GH-ISSUE #8970] Prompt autocomplete doesn't handle prompts without a trailing space correctly #54003
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 @find0x90 on GitHub (Jan 27, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/8970
Installation Method
Docker dev branch
Environment
Open WebUI Version: v0.5.7
Ollama (if applicable): 0.5.7
Operating System: Windows 11
Browser (if applicable): Firefox 134.0.2
Confirmation:
Expected Behavior:
The autocomplete suggestion should have a leading space when the prompt does not have a trailing space.
Actual Behavior:
The autocomplete suggestion is appended to the prompt without a space in between the two.
Description
Bug Summary:
Autocomplete suggestions do not handle the case where the partially written prompt does not have a trailing space. See the attached screenshot.
Reproduction Details
Steps to Reproduce:
Make sure autocomplete is enabled and write a partial query without a trailing space.
Logs and Screenshots