mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 11:28:35 -05:00
[PR #5281] [CLOSED] feat: persist functions self.valves to database during function create #21662
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/5281
Author: @ndrsfel
Created: 9/8/2024
Status: ❌ Closed
Base:
dev← Head:persist-valves-to-db-at-create📝 Commits (9)
05c0423Merge pull request #5197 from open-webui/dev4617f3aMerge pull request #5200 from open-webui/deve2ef36bMerge pull request #5238 from open-webui/dev71a2bd2Merge pull request #5247 from open-webui/dev98eaec2Merge pull request #5248 from open-webui/dev2544f7eMerge pull request #5249 from open-webui/dev50db51eMerge pull request #5262 from open-webui/deve510c8bMerge pull request #5263 from open-webui/dev289207epersist valves to db during create📊 Changes
2 files changed (+9 additions, -2 deletions)
View changed files
📝
backend/open_webui/apps/webui/models/functions.py(+3 -1)📝
backend/open_webui/apps/webui/routers/functions.py(+6 -1)📄 Description
Changelog Entry
Description
self.valvesduringPipe.__init__()tofunction.valvesentry in the database and empty if not defined during init.Additional Information
Replicate with minimal example
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.