Skip to content

Commit 173d563

Browse files
committed
refac
1 parent 34cd3d7 commit 173d563

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

backend/open_webui/utils/tools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ def is_builtin_tool_enabled(category: str) -> bool:
444444
if is_builtin_tool_enabled("knowledge"):
445445
if model_knowledge:
446446
# Model has attached knowledge - only allow semantic search within it
447-
builtin_functions.append(query_knowledge_files)
447+
builtin_functions.extend([query_knowledge_files, view_knowledge_file])
448448
else:
449449
# No model knowledge - allow full KB browsing
450450
builtin_functions.extend(

0 commit comments

Comments
 (0)