From 760022d7f59fbd4aa5cd1c56be1a55eac71784d7 Mon Sep 17 00:00:00 2001 From: Apple Date: Wed, 18 Feb 2026 09:25:52 -0800 Subject: [PATCH] helion: ignore keyword complexity hints; trigger CrewAI only by explicit detailed/complex flags --- services/router/crewai_client.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/services/router/crewai_client.py b/services/router/crewai_client.py index 52f4b190..7dd89cd6 100644 --- a/services/router/crewai_client.py +++ b/services/router/crewai_client.py @@ -98,9 +98,7 @@ def should_use_crewai(agent_id, prompt, agent_config, metadata=None, force_crewa # Helion policy: DeepSeek direct path by default; CrewAI only on-demand. # This keeps first-touch replies fast and concise. if agent_id == "helion": - prompt_lower = prompt.lower() - has_complexity = any(kw in prompt_lower for kw in COMPLEXITY_KEYWORDS) - if force_detailed or requires_complex or has_complexity: + if force_detailed or requires_complex: return True, "helion_complex_or_detailed" return False, "helion_direct_deepseek_first"