mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 03:18:23 -05:00
[PR #19492] [CLOSED] fix: MCP function_name_filter_list type handling #40860
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/19492
Author: @kathrynalpert
Created: 11/25/2025
Status: ❌ Closed
Base:
dev← Head:fix-19486📝 Commits (1)
4ea3479fix: MCP function_name_filter_list type handling📊 Changes
3 files changed (+17 additions, -9 deletions)
View changed files
📝
backend/open_webui/utils/middleware.py(+7 -3)📝
backend/open_webui/utils/tools.py(+7 -3)📝
src/lib/components/AddToolServerModal.svelte(+3 -3)📄 Description
Pull Request Checklist
Before submitting, make sure you've checked the following:
devbranch. Not targeting thedevbranch will lead to immediate closure of the PR.Changelog Entry
Description
Fix MCP tool server loading failure when function_name_filter_list is empty, which caused
'list' object has no attribute 'split'error #19486Fixed
function_name_filter_listinmiddleware.pyandtools.pyfunctionNameFilterListas empty string instead of empty array inAddToolServerModal.svelteNote for reviewers
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.