mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 19:08:59 -05:00
[GH-ISSUE #16569] issue: Code Interpreter code gets printed out as text #56629
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 @i0ntempest on GitHub (Aug 13, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/16569
Check Existing Issues
Installation Method
Pip Install
Open WebUI Version
0.6.22
Ollama Version (if applicable)
No response
Operating System
macOS 15.6
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
Interpreter code gets printed out as normal text after execution. Note that if I share the chat to the community, it is displayed correctly.
Actual Behavior
Interpreter code stays in a code block
Steps to Reproduce
Setup command execution with the this jupyter notebook docker image: quay.io/jupyter/datascience-notebook
Also setup OpenAI API for gpt-5 model
I cannot however upload the chat because I keep getting an HTTP 500 when trying to upload the chat to community. So for the full conversation history that triggered this please contact me at boron.briar.5a@icloud.com (Yes this is an iCloud private proxy address)
Logs & Screenshots
Python comment being rendered in markdown as a header line
Additional Information
No response
@renelehmann78 commented on GitHub (Aug 13, 2025):
Same issue here already with version 0.6.18 with both - Firefox and Chrome. One has to edit the message and add the type of language again (python, java ...) after receiving the response to render the text in the right format.
@tjbck commented on GitHub (Aug 13, 2025):
@renelehmann78 seems unrelated to the issue being described here.
@i0ntempest it seems like you're using a some sort of external tool alongside the code interpreter? could you confirm?