From 043e40b0aab50636d83c6ce0a6138e46e026f1eb Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Mon, 15 Jun 2026 20:25:21 +0200 Subject: [PATCH] Add web search enablement flag to workflow selection parameters --- backend/agent/router.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/agent/router.py b/backend/agent/router.py index 9a75d94..142fd5d 100644 --- a/backend/agent/router.py +++ b/backend/agent/router.py @@ -164,9 +164,9 @@ async def select_workflow( recent_messages: List[Dict[str, Any]], attachments: List[Dict[str, Any]], library_slug: Optional[str], - web_search_enabled: bool = False, router_model: Optional[str], chat_model: Optional[str], + web_search_enabled: bool = False, confidence_threshold: float = 0.55, ) -> Dict[str, Any]: fallback = db.query(WorkflowDefinition).filter(WorkflowDefinition.slug == "input-output").first()