mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-17 15:53:59 -06:00
[GH-ISSUE #10198] jupyter code interpreter does not work, always uses pyodide instead #102800
Reference in New Issue
Block a user
Originally created by @FlorinAndrei on GitHub (Feb 17, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/10198
Bug Report
Installation Method
macOS, install Docker Desktop, then run:
Ollama runs on a different machine on the same network. Everything works fine w.r.t. Ollama. That's not the problem.
Environment
Open WebUI Version: v0.5.12
Ollama (if applicable): v0.5.11
Operating System: Open WebUI and browser are on macOS 15.3, Ollama is on Ubuntu 24.04 (different systems, same network)
Browser (if applicable): Chrome 133.0.6943.55
Expected Behavior:
Prompted a model to generate code. Clicked the Run button. The code should run in the Jupyter server locally.
Actual Behavior:
Instead, it runs in pyodide.
Description
Bug Summary:
The Jupyter code interpreter does not work. Pyodide is always used instead.
Reproduction Details
Steps to Reproduce:
Install Open WebUI as shown above.
Run Jupyter like this:
In Open WebUI, configure the Jupiter code interpreter with this Jupyter URL: http://127.0.0.1:8080/tree
Save the configuration.
I have verified that
curl http://127.0.0.1:8080/treefrom within theopen-webuicontainer can indeed reach the Jupyter server. But Open WebUI does not even try to contact Jupyter. Instead, it goes to pyodide directly, no matter what.@tjbck commented on GitHub (Feb 17, 2025):
Runbutton will always use pyodide instead of jupyter for security reasons, would be happy to revise or add an option to enable running your code from jupyter.