mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 19:08:59 -05:00
[PR #3866] [CLOSED] feat: Add management and execution for python scripts in workspace #60200
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/3866
Author: @powerfooI
Created: 7/14/2024
Status: ❌ Closed
Base:
dev← Head:feat/python-scripts-execution📝 Commits (7)
9bcd4ceMerge pull request #3559 from open-webui/devd506399Merge pull request #3768 from open-webui/dev3661dd1Merge pull request #3769 from open-webui/dev2011cbdMerge pull request #3773 from open-webui/deveff736aMerge pull request #3774 from open-webui/dev42b706efeat: added management and execution for python scriptsf409d87chore: removed unused files📊 Changes
13 files changed (+1049 additions, -2 deletions)
View changed files
➕
backend/apps/webui/internal/migrations/019_add_scripts.py(+57 -0)📝
backend/apps/webui/main.py(+2 -0)➕
backend/apps/webui/models/scripts.py(+146 -0)➕
backend/apps/webui/routers/scripts.py(+189 -0)📝
backend/migrations/env.py(+1 -0)📝
package-lock.json(+14 -0)📝
package.json(+2 -0)➕
src/lib/apis/scripts/index.ts(+162 -0)➕
src/lib/components/workspace/Scripts.svelte(+448 -0)📝
src/lib/stores/index.ts(+3 -2)📝
src/lib/types/index.ts(+11 -0)📝
src/routes/(app)/workspace/+layout.svelte(+9 -0)➕
src/routes/(app)/workspace/scripts/+page.svelte(+5 -0)📄 Description
Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
This PR aims to address issue #3583, allowing users to manage python scripts and do some experiments (execute the python scripts) in their workspace.
Added
Python Scriptswith management and execution for user-scoped python scriptsscripttable in database to store users' python scriptsscriptmanagementAdditional Information
Screenshots or Videos
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.