Browser (if applicable): MobileSafari 18.3, Chrome for iOS 133.0.6943.33
Confirmation:
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 included the browser console logs.
I have included the Docker container logs.
I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below.
Expected Behavior:
Code intepreter works
Actual Behavior:
It produces an error in the console and might crash the page
Description
Bug Summary:
Code Intepreter Error on mobile devices: RangeError: Maximum call stack size exceeded. I have tested iOS versions of Safari and Chrome, both have the problem.
Reproduction Details
Steps to Reproduce:
Access an instance of Open WebUI on an iOS device, and have a model outputs some python code
Try to run the code, it will not work and eventually times out. It would work in a desktop browser.
Logs and Screenshots
Browser Console Logs:
[Log] Backend config: – {status: true, name: "Nucleus Core Intelligence (Open WebUI)", version: "0.5.10", …} (0.Bc5bdilI.js, line 1)
{status: true, name: "Nucleus Core Intelligence (Open WebUI)", version: "0.5.10", default_locale: "", oauth: {providers: {}}, …}Object
[Log] connected – "I8eGYXoVGq9fl9OZAABf" (0.Bc5bdilI.js, line 1)
[Log] user-list – {user_ids: ["4c4bef79-0d21-4259-8f68-5b4d7085d620"]} (0.Bc5bdilI.js, line 1)
[Log] usage – {models: []} (0.Bc5bdilI.js, line 1)
[Log] user-list – {user_ids: ["4c4bef79-0d21-4259-8f68-5b4d7085d620"]} (0.Bc5bdilI.js, line 1)
[Log] 55bb3251-d5f2-421e-af53-0130965ccfa0 (Help.GlNplyr6.js, line 150)
[Log] mounted (Help.GlNplyr6.js, line 137)
[Log] {id: "", title: "📈 Power Calculation", models: ["qwen2.5:14b"], params: {}, history: Object, …} (Help.GlNplyr6.js, line 137)
[Log] saveSessionSelectedModels (2) (Help.GlNplyr6.js, line 137)
["qwen2.5:14b"] (1)
"[\"qwen2.5:14b\"]"
[Log] result = 10**5 (CodeEditor.D-leIv_8.js, line 15)
result
[Log] codeblock – "python" – "result = 10**5↵result" (Markdown._3svO0p6.js, line 95)
"result = 10**5
result"
[Log] saveSessionSelectedModels (2) (Help.GlNplyr6.js, line 137)
["qwen2.5:14b"] (1)
"[\"qwen2.5:14b\"]"
[Log] saveSessionSelectedModels (2) (Help.GlNplyr6.js, line 137)
["qwen2.5:14b"] (1)
"[\"qwen2.5:14b\"]"
[Log] (RichTextInput.CUf9htS3.js, line 204)
[Warning] [tiptap warn]: Duplicate extension names found: ['codeBlock']. This can lead to issues. (RichTextInput.CUf9htS3.js, line 113)
[Log] 262 (2.qrYuMlUJ.js, line 13)
[Log] ["regex"] (1) (Markdown._3svO0p6.js, line 93)
[Log] {id: "bdef9d6b-b7ea-4ec6-91d3-1074428c6bab-1", code: "result = 10**5↵result", packages: ["regex"]} (pyodide.worker-C5BJ-McK.js, line 7)
[Error] Unhandled Promise Rejection: RangeError: Maximum call stack size exceeded.
(anonymous function) (pyodide.worker-C5BJ-McK.js:7:241)
Originally created by @i0ntempest on GitHub (Feb 6, 2025).
## Installation Method
pip
## Environment
- **Open WebUI Version:** 0.5.10
- **Ollama (if applicable):** 0.5.7
- **Operating System:** Server: macOS 15.3, Client: iOS 18.3
- **Browser (if applicable):** MobileSafari 18.3, Chrome for iOS 133.0.6943.33
**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 included the browser console logs.
- [ ] I have included the Docker container logs.
- [x] I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below.
## Expected Behavior:
Code intepreter works
## Actual Behavior:
It produces an error in the console and might crash the page
## Description
**Bug Summary:**
Code Intepreter Error on mobile devices: RangeError: Maximum call stack size exceeded. I have tested iOS versions of Safari and Chrome, both have the problem.
## Reproduction Details
**Steps to Reproduce:**
1. Access an instance of Open WebUI on an iOS device, and have a model outputs some python code
2. Try to run the code, it will not work and eventually times out. It would work in a desktop browser.
## Logs and Screenshots
**Browser Console Logs:**
```
[Log] Backend config: – {status: true, name: "Nucleus Core Intelligence (Open WebUI)", version: "0.5.10", …} (0.Bc5bdilI.js, line 1)
{status: true, name: "Nucleus Core Intelligence (Open WebUI)", version: "0.5.10", default_locale: "", oauth: {providers: {}}, …}Object
[Log] connected – "I8eGYXoVGq9fl9OZAABf" (0.Bc5bdilI.js, line 1)
[Log] user-list – {user_ids: ["4c4bef79-0d21-4259-8f68-5b4d7085d620"]} (0.Bc5bdilI.js, line 1)
[Log] usage – {models: []} (0.Bc5bdilI.js, line 1)
[Log] user-list – {user_ids: ["4c4bef79-0d21-4259-8f68-5b4d7085d620"]} (0.Bc5bdilI.js, line 1)
[Log] 55bb3251-d5f2-421e-af53-0130965ccfa0 (Help.GlNplyr6.js, line 150)
[Log] mounted (Help.GlNplyr6.js, line 137)
[Log] {id: "", title: "📈 Power Calculation", models: ["qwen2.5:14b"], params: {}, history: Object, …} (Help.GlNplyr6.js, line 137)
[Log] saveSessionSelectedModels (2) (Help.GlNplyr6.js, line 137)
["qwen2.5:14b"] (1)
"[\"qwen2.5:14b\"]"
[Log] result = 10**5 (CodeEditor.D-leIv_8.js, line 15)
result
[Log] codeblock – "python" – "result = 10**5↵result" (Markdown._3svO0p6.js, line 95)
"result = 10**5
result"
[Log] saveSessionSelectedModels (2) (Help.GlNplyr6.js, line 137)
["qwen2.5:14b"] (1)
"[\"qwen2.5:14b\"]"
[Log] saveSessionSelectedModels (2) (Help.GlNplyr6.js, line 137)
["qwen2.5:14b"] (1)
"[\"qwen2.5:14b\"]"
[Log] (RichTextInput.CUf9htS3.js, line 204)
[Warning] [tiptap warn]: Duplicate extension names found: ['codeBlock']. This can lead to issues. (RichTextInput.CUf9htS3.js, line 113)
[Log] 262 (2.qrYuMlUJ.js, line 13)
[Log] ["regex"] (1) (Markdown._3svO0p6.js, line 93)
[Log] {id: "bdef9d6b-b7ea-4ec6-91d3-1074428c6bab-1", code: "result = 10**5↵result", packages: ["regex"]} (pyodide.worker-C5BJ-McK.js, line 7)
[Error] Unhandled Promise Rejection: RangeError: Maximum call stack size exceeded.
(anonymous function) (pyodide.worker-C5BJ-McK.js:7:241)
```
Same… I would rather the code interpreter run on the powerful server that is serving the model, not the weak device that is just a client.
@coder543 commented on GitHub (Feb 6, 2025):
Same… I would rather the code interpreter run on the powerful server that is serving the model, not the weak device that is just a client.
@tjbck That probably isn’t the same bug, at least the way to trigger the bug is different. On a desktop the code interpreter block once completed, can be executed and results shown, at least some times. On a mobile device it fails every time.
@i0ntempest commented on GitHub (Feb 6, 2025):
> [#9454](https://github.com/open-webui/open-webui/discussions/9454)
@tjbck That probably isn’t the same bug, at least the way to trigger the bug is different. On a desktop the code interpreter block once completed, can be executed and results shown, at least some times. On a mobile device it fails every time.
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 @i0ntempest on GitHub (Feb 6, 2025).
Installation Method
pip
Environment
Open WebUI Version: 0.5.10
Ollama (if applicable): 0.5.7
Operating System: Server: macOS 15.3, Client: iOS 18.3
Browser (if applicable): MobileSafari 18.3, Chrome for iOS 133.0.6943.33
Confirmation:
Expected Behavior:
Code intepreter works
Actual Behavior:
It produces an error in the console and might crash the page
Description
Bug Summary:
Code Intepreter Error on mobile devices: RangeError: Maximum call stack size exceeded. I have tested iOS versions of Safari and Chrome, both have the problem.
Reproduction Details
Steps to Reproduce:
Logs and Screenshots
Browser Console Logs:
@coder543 commented on GitHub (Feb 6, 2025):
Same… I would rather the code interpreter run on the powerful server that is serving the model, not the weak device that is just a client.
@tjbck commented on GitHub (Feb 6, 2025):
https://github.com/open-webui/open-webui/discussions/9454
@i0ntempest commented on GitHub (Feb 6, 2025):
@tjbck That probably isn’t the same bug, at least the way to trigger the bug is different. On a desktop the code interpreter block once completed, can be executed and results shown, at least some times. On a mobile device it fails every time.