Files
open-webui/backend/open_webui
Classic298andGitHub e7e006e781 fix: use admin-configured WEB_SEARCH_RESULT_COUNT as default (#23488)
The built-in search_web tool hardcoded count=5 as the default,
ignoring the admin-configured WEB_SEARCH_RESULT_COUNT setting.
When the LLM did not specify a count, the tool always returned 5
results regardless of admin configuration.

Now the tool defaults to the admin-configured value when the LLM
omits the count parameter, while still capping LLM-requested
values at the admin maximum to prevent abuse.

Closes #23485
2026-04-08 13:13:44 -07:00
..
2026-03-17 17:58:01 -05:00
2026-04-01 18:26:46 -05:00
2026-04-02 22:34:51 -05:00
2026-03-26 19:01:33 -05:00
2026-04-02 22:34:51 -05:00
2026-04-01 07:42:11 -05:00
2026-03-23 23:39:52 -05:00
2026-03-17 17:58:01 -05:00
2026-03-17 17:58:01 -05:00
2026-03-24 15:41:26 -05:00
2026-04-02 19:31:15 -05:00
2026-03-25 17:29:57 -05:00
2026-04-02 08:46:34 -05:00
2026-03-17 17:58:01 -05:00
2026-04-02 19:31:15 -05:00
2026-03-17 17:58:01 -05:00