mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 19:08:59 -05:00
[PR #2325] [MERGED] feat: python code execution #59819
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/2325
Author: @tjbck
Created: 5/17/2024
Status: ✅ Merged
Merged: 5/17/2024
Merged by: @tjbck
Base:
dev← Head:pyscript📝 Commits (4)
58a13aefeat: python code execution1140036feat: python error handling325fd2brefac: styling18a7634fix: python code execution📊 Changes
67 files changed (+2038 additions, -11 deletions)
View changed files
📝
backend/main.py(+12 -0)📝
package-lock.json(+146 -2)📝
package.json(+3 -0)➕
pyscript-mv.sh(+8 -0)➕
src/Untitled-1.js(+20 -0)📝
src/app.html(+9 -0)📝
src/lib/components/chat/MessageInput.svelte(+1 -0)📝
src/lib/components/chat/Messages/CodeBlock.svelte(+205 -4)📝
src/lib/components/chat/Messages/Placeholder.svelte(+2 -0)📝
src/lib/components/chat/Messages/ProfileImage.svelte(+7 -1)📝
src/lib/components/chat/Messages/ResponseMessage.svelte(+1 -0)📝
src/lib/components/layout/Sidebar.svelte(+1 -0)📝
src/routes/+layout.svelte(+1 -1)📝
src/routes/auth/+page.svelte(+6 -1)➕
static/pyodide/pyodide-lock.json(+1 -0)➕
static/pyodide/pyodide.asm.js(+17 -0)➕
static/pyodide/pyodide.asm.wasm(+0 -0)➕
static/pyodide/pyodide.d.ts(+1476 -0)➕
static/pyodide/pyodide.js(+12 -0)➕
static/pyodide/pyodide.js.map(+7 -0)...and 47 more files
📄 Description
Somewhat resolves #1321
Running entirely on the browser side and external libraries are not supported yet.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.