From f13dfcce521fad3f04cee0cff6aeb03e62c09521 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Fri, 14 Aug 2026 13:59:59 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20system=5Fprompt=20=E6=98=8E=E7=A1=AE?= =?UTF-8?q?=E9=9C=80=E6=B1=82=E2=86=92create=5Ftask+start=5Fagents=20?= =?UTF-8?q?=E5=B7=A5=E4=BD=9C=E6=B5=81=EF=BC=88=E6=9B=BF=E4=BB=A3=E8=AF=AF?= =?UTF-8?q?=E5=AF=BC=E6=80=A7=E7=9A=84=E6=9F=A5=E8=AF=A2=E6=95=B0=E6=8D=AE?= =?UTF-8?q?+diagnose=20=E7=A4=BA=E4=BE=8B=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pipeline_core/agent_config.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pipeline_core/agent_config.py b/pipeline_core/agent_config.py index 4c7fd6c..9956570 100644 --- a/pipeline_core/agent_config.py +++ b/pipeline_core/agent_config.py @@ -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} """,