From b9c0a9c3bf93fa6a4c1fd871304d90eab72eb432 Mon Sep 17 00:00:00 2001 From: Classic298 <27028174+Classic298@users.noreply.github.com> Date: Sat, 7 Mar 2026 23:16:43 +0100 Subject: [PATCH] enh: prevent models from always using internal knowledge base search first (#22264) Some models always primarily use the internal knowledge base first before deviating to the web search tool --- backend/open_webui/tools/builtin.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/backend/open_webui/tools/builtin.py b/backend/open_webui/tools/builtin.py index eec760fe0..742759238 100644 --- a/backend/open_webui/tools/builtin.py +++ b/backend/open_webui/tools/builtin.py @@ -155,8 +155,7 @@ async def search_web( ) -> str: """ Search the public web for information. Best for current events, external references, - or topics not covered in internal documents. If knowledge base tools are available, - consider checking those first for internal information. + or topics not covered in internal documents. :param query: The search query to look up :param count: Number of results to return (default: 5)