问答模式智能路由智能体初始版

This commit is contained in:
许海洋 committed 2026-05-21 13:50:15 +08:00
1 parent 1b0060ded7
commit 7ee89405f5
11 files changed
+263 -46

No files matched your search

@@ -48,6 +48,8 @@ class AgentConfig(BaseModel):
# - [] (explicit empty list): no skills
# - ["skill1", "skill2"]: load only the specified skills
skills: list[str] | None = None
# subagent_enabled allows the agent to delegate tasks to subagents via the task tool
subagent_enabled: bool = False
def load_agent_config(agent_id: str | None) -> AgentConfig | None: