Self-hosted AI workspace.
Python
fix(chat): restore missing _explicit_web_intent definition (#5290)
Steve Holloway7906671775f5
diff --git a/routes/chat_routes.py b/routes/chat_routes.pyindex 705fa4ba9..848b36dbb 100644--- a/routes/chat_routes.py+++ b/routes/chat_routes.py@@ -876,6 +876,7 @@ def setup_chat_routes(# by default without having to send allow_bash in every request.if allow_bash is not None and str(allow_bash).lower() != "true":disabled_tools.add("bash")+ _explicit_web_intent = bool(_tool_intent and _tool_intent.category == "web")if (allow_web_search is not Noneand str(allow_web_search).lower() != "true"