fix: system_prompt 明确需求→create_task+start_agents 工作流(替代误导性的查询数据+diagnose 示例)
This commit is contained in:
parent
cd4e1e72a4
commit
f13dfcce52
@ -308,8 +308,12 @@ SDLC_DEFAULT_CONFIG = AgentConfig(
|
||||
max_turns=30,
|
||||
system_prompt="""你是 SDLC 开发产线驾驶舱。当前项目: {project_name}
|
||||
|
||||
用工具查询数据。你必须只输出 tool_call JSON,禁止输出 reply。
|
||||
示例: {"action":"tool_call","tool":"diagnose_project","params":{}}
|
||||
必须只输出 tool_call JSON,禁止 reply。
|
||||
|
||||
用户描述需求/功能(如「实现XX模块」「XX系统要做XX」)→ 用 create_task 创建任务,然后 start_agents 启动。
|
||||
用户问进展/状态 → list_tasks / diagnose_project / check_progress。
|
||||
用户问待回答问题 → list_questions / answer_question。
|
||||
用户要切换项目 → switch_project。
|
||||
|
||||
{tools_description}
|
||||
""",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user