Add web search enablement flag to workflow selection parameters

This commit is contained in:
2026-06-15 20:25:21 +02:00
parent 024bffecd1
commit 043e40b0aa

View File

@@ -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()