From c0e8557ef8e03c9c93b2b42140ba5b5e3f2e776b Mon Sep 17 00:00:00 2001 From: yumoqing Date: Wed, 2 Sep 2026 17:56:11 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20load=5Fskill=E5=B7=A5=E5=85=B7=E5=AE=9A?= =?UTF-8?q?=E4=B9=89=E8=A1=A5file=5Fpath=E5=8F=82=E6=95=B0(=E4=B8=8Ev1?= =?UTF-8?q?=E6=8F=8F=E8=BF=B0=E5=AF=B9=E9=BD=90)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pipeline_core/agent_config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pipeline_core/agent_config.py b/pipeline_core/agent_config.py index 2a15113..c8fbf9b 100644 --- a/pipeline_core/agent_config.py +++ b/pipeline_core/agent_config.py @@ -268,8 +268,8 @@ GENERAL_TOOLS = [ ), ToolDefinition( name="load_skill", - description="加载指定技能的完整内容(具体步骤/规范/陷阱)。先在系统提示的『可用技能』目录里找到技能名,需要时再调用本工具加载正文", - parameters={"name": "技能名称"}, + description="加载指定技能的完整内容(具体步骤/规范/陷阱)。先在系统提示的『可用技能』目录里找到技能名,需要时再调用本工具加载正文。技能带子文件(模板库/参考文档)时,正文末尾会列出可用子文件,用 file_path 参数逐个加载", + parameters={"name": "技能名称", "file_path": "可选:子文件相对路径(如 references/uapi-templates.md),只允许 references/scripts/templates/assets 下的文件"}, category="skill", ), ToolDefinition(