mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 11:28:35 -05:00
feat: Add ANSI Color/Formatting Support for (Jupyter Lab) STDOUT/STDERR Console Outputs #5557
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 @eSoCGN on GitHub (Jun 16, 2025).
Check Existing Issues
Problem Description
Hi open-webui team!
First off, I want to say a huge thank you and big THANK YOU for your amazing work on this project. OpenWebUI has become my daily Swiss army knife, the pace of development and the quality of features are truly remarkable not to say IMPRESSIVE.
I would love to see support for interpreting and rendering ANSI color codes and formatting in the STDOUT/STDERR console outputs, similar to how code blocks are already beautifully colorized in the chat interface. In my case the "Code Interpreter" is connected with a separete "Jupyter Lab" Server, which works flawless.
Background:
Currently, when using the "Code Interpreter" (especially with Jupyter or local terminals), outputs from commands (e.g. "!pip install") or other CLI outputs often include raw ANSI escape sequences. This results in cluttered and hard-to-read outputs in the chat bubbles, whereas code blocks are rendered with proper syntax highlighting and colors.
Desired Solution you'd like
Possible Implementation Ideas:
Alternatives Considered
Why this matters:
Additional Context
I’m really excited about the potential for this enhancement and would be thrilled to see it in a future release.
Thank you again for your dedication and for building such a fantastic open-source project!
Keep up the great work! 🚀
Kind regards,
Eric