[GH-ISSUE #22540] issue: pyodide files: when running script manually, new and changed files not showing up until browser tab refresh #35270

Closed
opened 2026-04-25 09:29:58 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @TomTheWise on GitHub (Mar 10, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/22540

Check Existing Issues

  • I have searched for any existing and/or related issues.
  • I have searched for any existing and/or related discussions.
  • I have also searched in the CLOSED issues AND CLOSED discussions and found no related items (your issue might already be addressed on the development branch!).
  • I am using the latest version of Open WebUI.

Installation Method

Docker

Open WebUI Version

0.8.10

Ollama Version (if applicable)

No response

Operating System

Debian 13, Podman 5.X, postgres + pgvector

Browser (if applicable)

Edge latest

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 provided every relevant configuration, setting, and environment variable used in my setup.
  • I have clearly listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc).
  • I have documented step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation. My steps:
  • Start with the initial platform/version/OS and dependencies used,
  • Specify exact install/launch/configure commands,
  • List URLs visited, user input (incl. example values/emails/passwords if needed),
  • Describe all options and toggles enabled or changed,
  • Include any files or environmental changes,
  • Identify the expected and actual result at each stage,
  • Ensure any reasonably skilled user can follow and hit the same issue.

Expected Behavior

In the pyodide files, new files should show up when clicking files refresh.

Actual Behavior

New files showing up is currently not reliable.
When the python code is run by the LLM Model (Code Interpreter) it has a high chance to show up without need to click refresh inside the pyodide files.
However when script code (that AI generated as python window) is ran manually (Code Execution) it never shows the files - even when clicking refresh inside the pyodide files tab.
When refreshing the browser page - then the new file is shown.
If file already exist refresh also only will show you the old version not the overwritten current data - until you refresh the browser tab via F5, then the latest data is shown.

Steps to Reproduce

Test 1 (manually user started) Code Execution - bugged:

  1. Let AI generate you a python script that will generate a file you can manually start.
  2. Run the script and look in files and refresh files. It is not showing you any file.
  3. Refresh Browser tab - file is shown.

Test 2 (agentic started by AI) Conde Interpreter - successful

  1. Let AI generate you a python script and tell it to execute in an agentic way. It will code a python script and run it directly without additional user interaction.
  2. After AI finishes look in files and if the new file is not not already shown, refresh files. The file you expecting is there, no brower page refresh necessary.

Logs & Screenshots

Cant find anything in the Browser logs, the OpenWeb UI Logs but here is a video that shows how AI model created a script and already run it but showed me the script to manually start it afterwards again:

https://github.com/user-attachments/assets/4e26f9ac-fef0-4d8e-9a29-8dcfbda7dc59

Additional Information

I just want to share my deep appreciation for your efforts! This seemingly small feature in the Changelogs of 0.8.9 is SUPER cool and brings so many good productive possibilities! Thank you so much!

Originally created by @TomTheWise on GitHub (Mar 10, 2026). Original GitHub issue: https://github.com/open-webui/open-webui/issues/22540 ### Check Existing Issues - [x] I have searched for any existing and/or related issues. - [x] I have searched for any existing and/or related discussions. - [x] I have also searched in the CLOSED issues AND CLOSED discussions and found no related items (your issue might already be addressed on the development branch!). - [x] I am using the latest version of Open WebUI. ### Installation Method Docker ### Open WebUI Version 0.8.10 ### Ollama Version (if applicable) _No response_ ### Operating System Debian 13, Podman 5.X, postgres + pgvector ### Browser (if applicable) Edge latest ### 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 **provided every relevant configuration, setting, and environment variable used in my setup.** - [x] I have clearly **listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup** (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc). - [x] I have documented **step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation**. My steps: - Start with the initial platform/version/OS and dependencies used, - Specify exact install/launch/configure commands, - List URLs visited, user input (incl. example values/emails/passwords if needed), - Describe all options and toggles enabled or changed, - Include any files or environmental changes, - Identify the expected and actual result at each stage, - Ensure any reasonably skilled user can follow and hit the same issue. ### Expected Behavior In the pyodide files, new files should show up when clicking files refresh. ### Actual Behavior New files showing up is currently not reliable. When the python code is run by the LLM Model (Code Interpreter) it has a high chance to show up without need to click refresh inside the pyodide files. However when script code (that AI generated as python window) is ran manually (Code Execution) it never shows the files - even when clicking refresh inside the pyodide files tab. When refreshing the browser page - then the new file is shown. If file already exist refresh also only will show you the old version not the overwritten current data - until you refresh the browser tab via F5, then the latest data is shown. ### Steps to Reproduce Test 1 (manually user started) Code Execution - bugged: 1. Let AI generate you a python script that will generate a file you can manually start. 2. Run the script and look in files and refresh files. It is not showing you any file. 4. Refresh Browser tab - file is shown. Test 2 (agentic started by AI) Conde Interpreter - successful 1. Let AI generate you a python script and tell it to execute in an agentic way. It will code a python script and run it directly without additional user interaction. 2. After AI finishes look in files and if the new file is not not already shown, refresh files. The file you expecting is there, no brower page refresh necessary. ### Logs & Screenshots Cant find anything in the Browser logs, the OpenWeb UI Logs but here is a video that shows how AI model created a script and already run it but showed me the script to manually start it afterwards again: https://github.com/user-attachments/assets/4e26f9ac-fef0-4d8e-9a29-8dcfbda7dc59 ### Additional Information I just want to share my deep appreciation for your efforts! This seemingly small feature in the Changelogs of 0.8.9 is SUPER cool and brings so many good productive possibilities! Thank you so much!
GiteaMirror added the bug label 2026-04-25 09:29:58 -05:00
Author
Owner

@tjbck commented on GitHub (Mar 24, 2026):

Addressed in dev!

<!-- gh-comment-id:4121443831 --> @tjbck commented on GitHub (Mar 24, 2026): Addressed in dev!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#35270