mirror of
https://github.com/open-webui/open-webui.git
synced 2026-06-05 00:10:27 -05:00
[PR #24305] [CLOSED] fix: merge filter tools with internal tools instead of replacing #98632
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/24305
Author: @aayushbaluni
Created: 5/2/2026
Status: ❌ Closed
Base:
dev← Head:fix/24237-merge-filter-tools📝 Commits (1)
ea9552cfix: merge filter tools with internal tools instead of replacing📊 Changes
1 file changed (+23 additions, -6 deletions)
View changed files
📝
backend/open_webui/utils/middleware.py(+23 -6)📄 Description
Problem
When tools are set in a Filter function, internal Open WebUI tools get overwritten instead of merged, so built-in tools become unavailable.
Change
Merge filter-provided tools with existing internal tools rather than replacing the entire tools list.
Fixes #24237.
Made with Cursor
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.