I have read and followed all the instructions provided in the README.md.
I am on the latest version of both Open WebUI and Ollama.
I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below.
Expected Behavior:
Markdown should render in the output section of a python script
Actual Behavior:
It displays plaintext instead of an image.
Description
Bug Summary:
[Provide a brief but clear summary of the bug]
Reproduction Details
Steps to Reproduce:
Ask model to plot something in python using Code Interpretor
Logs and Screenshots
Screenshots/Screen Recordings (if applicable):
Originally created by @adarshdotexe on GitHub (Feb 5, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/9420
# Bug Report
## Installation Method
pip
## Environment
- **Open WebUI Version:** 0.5.9
**Confirmation:**
- [x] I have read and followed all the instructions provided in the README.md.
- [x] I am on the latest version of both Open WebUI and Ollama.
- [x] I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below.
## Expected Behavior:
Markdown should render in the output section of a python script
## Actual Behavior:
It displays plaintext instead of an image.

## Description
**Bug Summary:**
[Provide a brief but clear summary of the bug]
## Reproduction Details
**Steps to Reproduce:**
Ask model to plot something in python using Code Interpretor
## Logs and Screenshots
**Screenshots/Screen Recordings (if applicable):**

This behaviour is model dependent, will update/tweak the prompt to see what works better. PR Welcome also!
<!-- gh-comment-id:2638022673 -->
@tjbck commented on GitHub (Feb 5, 2025):
This behaviour is model dependent, will update/tweak the prompt to see what works better. PR Welcome also!
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @adarshdotexe on GitHub (Feb 5, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/9420
Bug Report
Installation Method
pip
Environment
Confirmation:
Expected Behavior:
Markdown should render in the output section of a python script
Actual Behavior:
It displays plaintext instead of an image.

Description
Bug Summary:
[Provide a brief but clear summary of the bug]
Reproduction Details
Steps to Reproduce:
Ask model to plot something in python using Code Interpretor
Logs and Screenshots
Screenshots/Screen Recordings (if applicable):
@tjbck commented on GitHub (Feb 5, 2025):
This behaviour is model dependent, will update/tweak the prompt to see what works better. PR Welcome also!