From fc0ce9ad7d772f61709ea8ddcba0761b530b5afc Mon Sep 17 00:00:00 2001 From: yumoqing Date: Sat, 15 Aug 2026 19:25:04 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20read=5Ffile=E6=8F=8F=E8=BF=B0=E6=98=8E?= =?UTF-8?q?=E7=A1=AE=E6=94=AF=E6=8C=81docx=E8=A7=A3=E6=9E=90,=E5=BC=95?= =?UTF-8?q?=E5=AF=BCagent=E4=BC=98=E5=85=88=E7=94=A8read=5Ffile=E8=80=8C?= =?UTF-8?q?=E9=9D=9Erun=5Fcommand=E6=8E=A2=E6=B5=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pipeline_core/agent_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipeline_core/agent_config.py b/pipeline_core/agent_config.py index de23bd7..f69a500 100644 --- a/pipeline_core/agent_config.py +++ b/pipeline_core/agent_config.py @@ -228,7 +228,7 @@ GENERAL_TOOLS = [ # ── 通用工具集(Hermes CLI 能力子集:文件/搜索/会话/规划)── ToolDefinition( name="read_file", - description="读取工作空间中的文件", + description="读取工作空间中的文件内容。支持 docx/txt/md/json 等文本格式,docx 会自动解析提取正文文本,直接调用即可读取 docx 内容", parameters={"path": "相对路径"}, category="file", ),