mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[GH-ISSUE #12653] issue: math formulas output overflow #32200
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 @harrywang on GitHub (Apr 9, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/12653
Check Existing Issues
Installation Method
Git Clone
Open WebUI Version
0.6.2
Ollama Version (if applicable)
No response
Operating System
Ubuntu 22.04
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
Prompt used:
I'm building a solar power installation and I need help working out the financials.- Land costs $100 / square foot - I can buy solar panels for $250 / square foot - I negotiated a contract for maintenance that will cost me a flat $100k per year, and an additional $10 / square foot. What is the total cost for the first year of operations as a function of the number of square feet.
Expect to see formatted output.
Actual Behavior
Overflow as shown:
Steps to Reproduce
choose two or more models and use
I'm building a solar power installation and I need help working out the financials.- Land costs $100 / square foot - I can buy solar panels for $250 / square foot - I negotiated a contract for maintenance that will cost me a flat $100k per year, and an additional $10 / square foot. What is the total cost for the first year of operations as a function of the number of square feet.
Logs & Screenshots
see above
Additional Information
No response
@tjbck commented on GitHub (Apr 10, 2025):
ChatGPT experiences the same issue, solution here isn't trivial. PR Welcome!
@mbeps commented on GitHub (Apr 12, 2025):
I remember dealing with this in one of my projects but it was NextJS (React) and not Svelte so I am not sure if the same logic will fix it. If anyone still wants to see that code as inspiration or maybe because it could be helpful it is at https://github.com/mbeps/personal-portfolio/tree/main/components/Reader
@tjbck commented on GitHub (Apr 13, 2025):
Addressed with
d5ee39de21