fix: _build_ctx补pipeline_id字段,修复/help列不出产线命令

This commit is contained in:
ymq 2026-08-15 09:40:31 +08:00
parent c05949d1cf
commit e6344be8e9

View File

@ -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,