[PR #3321] [MERGED] feat: functions #8015

Closed
opened 2025-11-11 17:42:43 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/3321
Author: @tjbck
Created: 6/20/2024
Status: Merged
Merged: 6/20/2024
Merged by: @tjbck

Base: devHead: functions


📝 Commits (10+)

📊 Changes

20 files changed (+1363 additions, -246 deletions)

View changed files

📝 backend/apps/ollama/main.py (+4 -13)
📝 backend/apps/openai/main.py (+6 -1)
backend/apps/webui/internal/migrations/015_add_functions.py (+61 -0)
📝 backend/apps/webui/main.py (+66 -4)
📝 backend/apps/webui/models/functions.py (+5 -4)
backend/apps/webui/routers/functions.py (+180 -0)
📝 backend/apps/webui/utils.py (+23 -1)
📝 backend/config.py (+8 -0)
📝 backend/main.py (+342 -124)
📝 backend/utils/misc.py (+19 -0)
src/lib/apis/functions/index.ts (+193 -0)
📝 src/lib/components/chat/Chat.svelte (+14 -4)
📝 src/lib/components/workspace/Functions.svelte (+73 -54)
📝 src/lib/components/workspace/Functions/FunctionEditor.svelte (+235 -0)
src/lib/components/workspace/Models/FiltersSelector.svelte (+60 -0)
📝 src/lib/stores/index.ts (+2 -0)
📝 src/routes/(app)/workspace/+layout.svelte (+6 -1)
📝 src/routes/(app)/workspace/functions/create/+page.svelte (+22 -19)
📝 src/routes/(app)/workspace/functions/edit/+page.svelte (+22 -20)
📝 src/routes/(app)/workspace/models/edit/+page.svelte (+22 -1)

📄 Description

TODO:

  • Filter
  • Pipe

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/open-webui/pull/3321 **Author:** [@tjbck](https://github.com/tjbck) **Created:** 6/20/2024 **Status:** ✅ Merged **Merged:** 6/20/2024 **Merged by:** [@tjbck](https://github.com/tjbck) **Base:** `dev` ← **Head:** `functions` --- ### 📝 Commits (10+) - [`f68aba6`](https://github.com/open-webui/open-webui/commit/f68aba687e14cc0b539a01ee7665746def64bd01) feat: functions router - [`27f8afe`](https://github.com/open-webui/open-webui/commit/27f8afebabde4ded3e249a6f0d69607806be9c8e) feat: function db migration - [`43e08c6`](https://github.com/open-webui/open-webui/commit/43e08c6afa00a536fc50bd81a667bc935e1d5fae) refac - [`40cde07`](https://github.com/open-webui/open-webui/commit/40cde07e5ce90cebed8e1cb5a066c355035e4386) feat: function filter example boilerplate - [`9108df1`](https://github.com/open-webui/open-webui/commit/9108df177c57a4e8f945c1b428585317e962180e) refac: comments - [`bf5775e`](https://github.com/open-webui/open-webui/commit/bf5775e07a635c9bfe6491a0db5ebc905c2adc61) refac - [`08cc20c`](https://github.com/open-webui/open-webui/commit/08cc20cb935924dd34476c8e21b654be01b7c39c) feat: filter selector model - [`448ca9d`](https://github.com/open-webui/open-webui/commit/448ca9d836566163a6e8037d55fefcffeae2247a) refac - [`6b8a7b9`](https://github.com/open-webui/open-webui/commit/6b8a7b993949f343fd4d1702b74218d9fe9b5c72) refac: chat completion middleware - [`c4bd601`](https://github.com/open-webui/open-webui/commit/c4bd60114eb6996f650d5ce0ab4b3ac0f41d6606) feat: filter inlet support ### 📊 Changes **20 files changed** (+1363 additions, -246 deletions) <details> <summary>View changed files</summary> 📝 `backend/apps/ollama/main.py` (+4 -13) 📝 `backend/apps/openai/main.py` (+6 -1) ➕ `backend/apps/webui/internal/migrations/015_add_functions.py` (+61 -0) 📝 `backend/apps/webui/main.py` (+66 -4) 📝 `backend/apps/webui/models/functions.py` (+5 -4) ➕ `backend/apps/webui/routers/functions.py` (+180 -0) 📝 `backend/apps/webui/utils.py` (+23 -1) 📝 `backend/config.py` (+8 -0) 📝 `backend/main.py` (+342 -124) 📝 `backend/utils/misc.py` (+19 -0) ➕ `src/lib/apis/functions/index.ts` (+193 -0) 📝 `src/lib/components/chat/Chat.svelte` (+14 -4) 📝 `src/lib/components/workspace/Functions.svelte` (+73 -54) 📝 `src/lib/components/workspace/Functions/FunctionEditor.svelte` (+235 -0) ➕ `src/lib/components/workspace/Models/FiltersSelector.svelte` (+60 -0) 📝 `src/lib/stores/index.ts` (+2 -0) 📝 `src/routes/(app)/workspace/+layout.svelte` (+6 -1) 📝 `src/routes/(app)/workspace/functions/create/+page.svelte` (+22 -19) 📝 `src/routes/(app)/workspace/functions/edit/+page.svelte` (+22 -20) 📝 `src/routes/(app)/workspace/models/edit/+page.svelte` (+22 -1) </details> ### 📄 Description TODO: - [x] Filter - [x] Pipe --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-11 17:42:43 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#8015