mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-31 14:00:34 -05:00
issue: </end_of_turn> shown in chat for both Llama and Gemma when searching Knowledgebase #5400
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 @digitalassassins on GitHub (May 30, 2025).
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.6.13
Ollama Version (if applicable)
v0.90
Operating System
Windows
Browser (if applicable)
Edge
Confirmation
README.md.Expected Behavior
When searching the Knowledgebase, Llama and Gemma do not show the text:
</end_of_turn>in the chat window.When using both models without searching the Knowledgebase, everything works as expected.
Actual Behavior
Knowledgebase replies not to show the writing
</end_of_turn>in the chat window.Steps to Reproduce
</end_of_turn>after the response and before the referencesLogs & Screenshots
Working as expected in normal chat
Shows </end of turn> markup in the response.
Additional Information
This is using Ollama as the embedding model.
Is it the embedding model that is sending the second markdown that isn't getting stripped?
I have just stripped it myself using a filter for now. But it would be nice to be stripped automatically.