Phase6/7 runtime + Gitea smoke gate setup #1
@@ -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.
|
# Helion policy: DeepSeek direct path by default; CrewAI only on-demand.
|
||||||
# This keeps first-touch replies fast and concise.
|
# This keeps first-touch replies fast and concise.
|
||||||
if agent_id == "helion":
|
if agent_id == "helion":
|
||||||
prompt_lower = prompt.lower()
|
if force_detailed or requires_complex:
|
||||||
has_complexity = any(kw in prompt_lower for kw in COMPLEXITY_KEYWORDS)
|
|
||||||
if force_detailed or requires_complex or has_complexity:
|
|
||||||
return True, "helion_complex_or_detailed"
|
return True, "helion_complex_or_detailed"
|
||||||
return False, "helion_direct_deepseek_first"
|
return False, "helion_direct_deepseek_first"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user