safe-code-execution icon indicating copy to clipboard operation
safe-code-execution copied to clipboard

Code execution utilities for Open WebUI & Ollama

Results 13 safe-code-execution issues
Sort by recently updated
recently updated
newest added

## 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: ![Screenshot from 2024-09-10 23-08-47](https://github.com/user-attachments/assets/ecb2cd32-5192-4792-9534-563a12f75935) ![Screenshot from 2024-09-10 23-09-06](https://github.com/user-attachments/assets/1f29ec2c-d082-4c0d-b756-d395259cd57a)

**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...

![image](https://github.com/user-attachments/assets/97ef50c5-c382-40d0-9d53-3552a21cb479)

## 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.