mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 19:08:59 -05:00
[PR #14392] [MERGED] perf: Prevent duplicate function loads with caching helper and refactor #39091
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/14392
Author: @hurxxxx
Created: 5/27/2025
Status: ✅ Merged
Merged: 5/27/2025
Merged by: @tjbck
Base:
dev← Head:fix/improve-loading-functions📝 Commits (1)
14c3d0cPrevent duplicate function module loads with caching helper and refactor📊 Changes
6 files changed (+47 additions, -24 deletions)
View changed files
📝
backend/open_webui/functions.py(+5 -4)📝
backend/open_webui/routers/functions.py(+9 -9)📝
backend/open_webui/utils/chat.py(+5 -3)📝
backend/open_webui/utils/filter.py(+5 -5)📝
backend/open_webui/utils/models.py(+5 -3)📝
backend/open_webui/utils/plugin.py(+18 -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
[GH-ISSUE #6475] Error 400 Model.bin Not found (#14378)
Changed
Screenshots or Videos
Before
load_func_main.webm
After
load_function.webm
Contributor License Agreement
By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), and I am providing my contributions under its terms.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.