mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-05 18:38:17 -05:00
[PR #3006] [MERGED] feat: tools #21158
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/3006
Author: @tjbck
Created: 6/11/2024
Status: ✅ Merged
Merged: 6/11/2024
Merged by: @tjbck
Base:
dev← Head:tools📝 Commits (10+)
3a96e1ffeat: tools backende27c264feat: tools apis6589464refacc5683ddrefacb434ebffeat: tools integration1611a3afeat: export toolsca8be1efeat: import tools25c0ecafeat: edit tool spinner4601a02fix: tool editdd7ac4crefac: search📊 Changes
23 files changed (+1388 additions, -96 deletions)
View changed files
➕
backend/apps/webui/internal/migrations/012_add_tools.py(+61 -0)📝
backend/apps/webui/main.py(+5 -2)➕
backend/apps/webui/models/tools.py(+131 -0)➕
backend/apps/webui/routers/tools.py(+177 -0)➕
backend/apps/webui/utils.py(+23 -0)📝
backend/config.py(+19 -1)📝
backend/constants.py(+1 -0)📝
backend/main.py(+174 -15)📝
backend/utils/task.py(+5 -0)➕
backend/utils/tools.py(+73 -0)➕
src/lib/apis/tools/index.ts(+193 -0)📝
src/lib/components/chat/Chat.svelte(+17 -1)📝
src/lib/components/chat/MessageInput.svelte(+6 -1)📝
src/lib/components/chat/MessageInput/InputMenu.svelte(+30 -5)📝
src/lib/components/common/CodeEditor.svelte(+13 -13)➕
src/lib/components/icons/WrenchSolid.svelte(+11 -0)📝
src/lib/components/workspace/Tools.svelte(+225 -1)📝
src/lib/components/workspace/Tools/CodeEditor.svelte(+55 -6)📝
src/lib/components/workspace/Tools/ToolkitEditor.svelte(+38 -16)📝
src/lib/stores/index.ts(+10 -16)...and 3 more files
📄 Description
#2825
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.