From 173d5631cab377bb8a5f6bbb1e19fae02c230c38 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Tue, 17 Feb 2026 00:31:34 -0600 Subject: [PATCH] refac --- backend/open_webui/utils/tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/open_webui/utils/tools.py b/backend/open_webui/utils/tools.py index 70b8bd3e1d..e7c5040786 100644 --- a/backend/open_webui/utils/tools.py +++ b/backend/open_webui/utils/tools.py @@ -444,7 +444,7 @@ def get_builtin_tools( if is_builtin_tool_enabled("knowledge"): if model_knowledge: # Model has attached knowledge - only allow semantic search within it - builtin_functions.append(query_knowledge_files) + builtin_functions.extend([query_knowledge_files, view_knowledge_file]) else: # No model knowledge - allow full KB browsing builtin_functions.extend(