This commit is contained in:
Tim Baek
2026-01-07 10:21:05 -05:00
parent ab400e3eae
commit 35d385e9cc
3 changed files with 15 additions and 12 deletions
+2 -2
View File
@@ -44,7 +44,7 @@ from open_webui.env import (
AIOHTTP_CLIENT_SESSION_TOOL_SERVER_SSL,
)
from open_webui.tools.builtin import (
web_search,
search_web,
fetch_url,
generate_image,
edit_image,
@@ -389,7 +389,7 @@ def get_builtin_tools(
if getattr(request.app.state.config, "ENABLE_WEB_SEARCH", False) and get_model_capability(
"web_search"
):
builtin_functions.extend([web_search, fetch_url])
builtin_functions.extend([search_web, fetch_url])
# Add image generation/edit tools if enabled globally AND model has image_generation capability
if getattr(