feature request: Auto executing generated code in OpenWeb UI #2185

Closed
opened 2025-11-11 15:01:53 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @aouicher on GitHub (Sep 24, 2024).

Currently, when OpenWeb UI generates code snippets, such as Python code, there is no immediate way to execute the code within the interface. This lack of functionality makes it difficult for users to quickly test and verify the generated code, leading to a less interactive and efficient user experience. Very useful to generate graph e.g.

I would like to see an "Admin Run" button added to the OpenWeb UI interface, specifically for code generation scenarios. The feature should:

Appear only when code (e.g., Python) is generated
Be visible and accessible only to users with appropriate permissions or all users
Execute the code in a secure environment
Display the output of the code execution within the interface

Originally created by @aouicher on GitHub (Sep 24, 2024). Currently, when OpenWeb UI generates code snippets, such as Python code, there is no immediate way to execute the code within the interface. This lack of functionality makes it difficult for users to quickly test and verify the generated code, leading to a less interactive and efficient user experience. Very useful to generate graph e.g. I would like to see an "Admin Run" button added to the OpenWeb UI interface, specifically for code generation scenarios. The feature should: Appear only when code (e.g., Python) is generated Be visible and accessible only to users with appropriate permissions or all users Execute the code in a secure environment Display the output of the code execution within the interface
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#2185