mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-08 04:16:03 -05:00
[GH-ISSUE #21091] issue: code execution is not working due to ansi colors #58044
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 @mchehab on GitHub (Feb 1, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/21091
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.7.2
Ollama Version (if applicable)
No response
Operating System
Fedora 43
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
no ANSI colors inside the code send to Jupyter.
Actual Behavior
Using a prompt to generate some code and execute it sometimes work, like here:
But sometimes the code doesn't work because there are ASCII escape sequences that were submitted at the prompt:
In particular, all the times I ask something more complex, like runing the example at:
https://docs.openwebui.com/tutorials/integrations/jupyter#create-a-visualization
it ends adding ANSI colors at the output, causing it to fail.
Steps to Reproduce
setup it to use Junyper integration for code execution
use a prompt that will try to use code executer.
Logs & Screenshots
Logs at Ollama, Jupyter and Open WebUI are OK, nothing weird reported there.
Jupyter log shows that the Kernel was properly created and executed:
Open WebUI logs:
Ollama logs:
Additional Information
No response
@owui-terminator[bot] commented on GitHub (Feb 1, 2026):
🔍 Similar Issues Found
I found some existing issues that might be related to this one. Please check if any of these are duplicates or contain helpful solutions:
by thekinez • Jan 29, 2026 •
bug💡 Tips:
This comment was generated automatically by a bot. Please react with a 👍 if this comment was helpful, or a 👎 if it was not.
@tjbck commented on GitHub (Feb 6, 2026):
Addressed in dev!