[GH-ISSUE #11755] issue: Run Python online #119657

Closed
opened 2026-05-20 21:03:55 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @ysl-ccc on GitHub (Mar 17, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/11755

Check Existing Issues

  • I have searched the existing issues and discussions.
  • I am using the latest version of Open WebUI.

Installation Method

Git Clone

Open WebUI Version

v0.5.20

Ollama Version (if applicable)

No response

Operating System

Windows10

Browser (if applicable)

Chrome 134

Confirmation

  • I have read and followed all instructions in README.md.
  • I am using the latest version of both Open WebUI and Ollama.
  • I have included the browser console logs.
  • I have included the Docker container logs.
  • I have listed steps to reproduce the bug in detail.

Expected Behavior

Answering, running python code online:

a = 1
b = 2
a + b

No stdout/stderr information should appear.

Image

Actual Behavior

Running this code in the answer will show stdout/stderr information.

Steps to Reproduce

In the dialogue, let the AI ​​return the python code block, run this code block,

a = 1
b = 2
a + b

and then return the stdout/stderr information

Logs & Screenshots

Since the result returned is a number.

Additional Information

No response

Originally created by @ysl-ccc on GitHub (Mar 17, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/11755 ### Check Existing Issues - [x] I have searched the existing issues and discussions. - [x] I am using the latest version of Open WebUI. ### Installation Method Git Clone ### Open WebUI Version v0.5.20 ### Ollama Version (if applicable) _No response_ ### Operating System Windows10 ### Browser (if applicable) Chrome 134 ### Confirmation - [x] I have read and followed all instructions in `README.md`. - [x] I am using the latest version of **both** Open WebUI and Ollama. - [x] I have included the browser console logs. - [x] I have included the Docker container logs. - [x] I have listed steps to reproduce the bug in detail. ### Expected Behavior Answering, running python code online: ```python a = 1 b = 2 a + b ``` No stdout/stderr information should appear. ![Image](https://github.com/user-attachments/assets/5f5d802d-2ed1-4dc3-8a90-f35068d3204c) ### Actual Behavior Running this code in the answer will show stdout/stderr information. ### Steps to Reproduce In the dialogue, let the AI ​​return the python code block, run this code block, ``` a = 1 b = 2 a + b ``` and then return the stdout/stderr information ### Logs & Screenshots Since the result returned is a number. ### Additional Information _No response_
GiteaMirror added the bug label 2026-05-20 21:03:55 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#119657