If a computation takes 10 seconds or longer with Jupyter (I didn't test pyodide but maybe the problem is present there as well) it fails:
This makes it hard to work with network I/O code, file search, machine learning, everything where I need to wait a bit longer.
So this timeout could be a parameter in the code execution section.
Originally created by @peter-ch on GitHub (Feb 19, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/10346
Originally assigned to: @tjbck on GitHub.
If a computation takes 10 seconds or longer with Jupyter (I didn't test pyodide but maybe the problem is present there as well) it fails:

This makes it hard to work with network I/O code, file search, machine learning, everything where I need to wait a bit longer.
So this timeout could be a parameter in the code execution section.
Also an indicator that lights up when the kernel is running would be nice, because I see no change after clicking "Run" and there's the potential to click it multiple times (does this cause it to restart the kernel?).
<!-- gh-comment-id:2668348162 -->
@peter-ch commented on GitHub (Feb 19, 2025):
Also an indicator that lights up when the kernel is running would be nice, because I see no change after clicking "Run" and there's the potential to click it multiple times (does this cause it to restart the kernel?).
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 @peter-ch on GitHub (Feb 19, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/10346
Originally assigned to: @tjbck on GitHub.
If a computation takes 10 seconds or longer with Jupyter (I didn't test pyodide but maybe the problem is present there as well) it fails:
This makes it hard to work with network I/O code, file search, machine learning, everything where I need to wait a bit longer.
So this timeout could be a parameter in the code execution section.
@peter-ch commented on GitHub (Feb 19, 2025):
Also an indicator that lights up when the kernel is running would be nice, because I see no change after clicking "Run" and there's the potential to click it multiple times (does this cause it to restart the kernel?).
@tjbck commented on GitHub (Feb 19, 2025):
Agreed, taking a look!
@tjbck commented on GitHub (Feb 20, 2025):
Addressed with fe5c4b95d5c72f84725694791918aeba7f438436!