From e6344be8e9ee960452f65122211737594a464ecb Mon Sep 17 00:00:00 2001 From: ymq Date: Sat, 15 Aug 2026 09:40:31 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=5Fbuild=5Fctx=E8=A1=A5pipeline=5Fid?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=EF=BC=8C=E4=BF=AE=E5=A4=8D/help=E5=88=97?= =?UTF-8?q?=E4=B8=8D=E5=87=BA=E4=BA=A7=E7=BA=BF=E5=91=BD=E4=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pipeline_service/agent_loop_v2.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pipeline_service/agent_loop_v2.py b/pipeline_service/agent_loop_v2.py index 9b29f57..d21c302 100644 --- a/pipeline_service/agent_loop_v2.py +++ b/pipeline_service/agent_loop_v2.py @@ -559,10 +559,11 @@ class AgentExecutor: return f"未知工具: {tool_name}" def _build_ctx(self) -> dict: - """构造传给产线能力 handler 的上下文。""" + """构造传给产线能力 handler / slash 命令的上下文。""" return { "project_id": self.project_id, "user_id": self.user_id, + "pipeline_id": self.pipeline_id, "workspace_dir": self.workspace_dir, "model_name": self.model_name, "config": self.config,