safe-code-execution
safe-code-execution copied to clipboard
Code execution utilities for Open WebUI & Ollama
## Description When attempting to plot stock prices using the code execution tool, it only runs the bash script for package installation but fails to execute the subsequent Python code....
## Description Running inside docker this command echo 'print("Hello world!")' | python3 run_code.py I get echo 'print("Hello world!")' | python3 run_code.py Event: {'type': 'status', 'data': {'status': 'in_progress', 'description': 'Checking for...
In order to trust/ verify the output it's often useful to see what code has been executed. How this works in ChatGPT:  
**Is your feature request related to a problem? Please describe.** As a forgetful prosumer I always forget the docker calls to launch my services but don't have my own kubernetes...
UI supports the following syntax in the dev version. After the official update, I will submit a PR as shown in the title. Code Execution I executed the following Python...

## Description I started Open WebUI from a docker container, and the tool execution throw the error: > Sandbox runtime failed: OSError: write_uid_map (#1): [Errno 1] Operation not permitted (other...
**Is your feature request related to a problem? Please describe.** The run code action seems to handle file generation perfectly. The run code tool does not. But there does seem...
## Description This isn't much of a bug/feature request, but it is an important distinction. cgroups will not work if the Docker is running rootless. It will just result in...
Is there a way to not sandbox the code execution? That would be really nice.