[GH-ISSUE #10198] jupyter code interpreter does not work, always uses pyodide instead #15805

Closed
opened 2026-04-19 21:55:33 -05:00 by GiteaMirror · 1 comment
Owner

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:

docker run -d -p 3000:8080 \
    --add-host=host.docker.internal:host-gateway \
    -e OLLAMA_BASE_URL=http://XXX.XXX.XXX.XXX:11434 \
    -v open-webui:/app/backend/data \
    --name open-webui \
    --restart always ghcr.io/open-webui/open-webui:main

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:

jupyter notebook --no-browser --port=8080 --ip=127.0.0.1 --IdentityProvider.token='' --ServerApp.password=''

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/tree from within the open-webui container 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.

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: ``` docker run -d -p 3000:8080 \ --add-host=host.docker.internal:host-gateway \ -e OLLAMA_BASE_URL=http://XXX.XXX.XXX.XXX:11434 \ -v open-webui:/app/backend/data \ --name open-webui \ --restart always ghcr.io/open-webui/open-webui:main ``` 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: ``` jupyter notebook --no-browser --port=8080 --ip=127.0.0.1 --IdentityProvider.token='' --ServerApp.password='' ``` 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/tree` from within the `open-webui` container 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.
Author
Owner

@tjbck commented on GitHub (Feb 17, 2025):

Run button 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.

<!-- gh-comment-id:2663914584 --> @tjbck commented on GitHub (Feb 17, 2025): `Run` button 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.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#15805