mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-17 15:53:59 -06:00
[GH-ISSUE #11623] issue: The last sentence will always be marked with a \boxed tag. #136027
Reference in New Issue
Block a user
Originally created by @etemical on GitHub (Mar 13, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/11623
Check Existing Issues
Installation Method
Git Clone
Open WebUI Version
0.5.20
Ollama Version (if applicable)
No response
Operating System
Ubuntu 22.04
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
Understood, when answering mathematical questions, the model should not include the trailing
\boxedtag in the final sentence. For instance, instead of saying "9.9 is greater than 9.11"," it should simply state "9.9 is greater than 9.11." without the trailing\boxedtag.Actual Behavior
However, the model's response ends with the display of
\boxed 9.9 is greater than 9.11on the webpage. I'm not sure what the purpose of the\boxedtag is, and why it is included every time.Steps to Reproduce
Select a LLM model, then ask the model which is greater between 9.9 and 9.11, and you will find that the issue: the webpage displays the final answer with a
\boxedtag.Logs & Screenshots
Additional Information
No response
@ArianDJ commented on GitHub (Mar 13, 2025):
Cause
Solutions
Recommended Fix (immediate workaround):
Update the system prompt template in Open WebUI to explicitly instruct the model to avoid using LaTeX formatting. For example: