From 9f8534bc4e40d84499d09383c584ea4c28bbd990 Mon Sep 17 00:00:00 2001 From: ymq Date: Fri, 21 Aug 2026 12:07:20 +0800 Subject: [PATCH] =?UTF-8?q?fix(skill):=20=E5=9B=9E=E9=80=80=20description?= =?UTF-8?q?=20=E6=88=AA=E6=96=AD=E7=BC=A9=E7=9F=AD=EF=BC=8C=E4=BF=9D?= =?UTF-8?q?=E7=95=99=E4=BC=98=E5=85=88=E7=BA=A7=E9=A1=BA=E5=BA=8F+?= =?UTF-8?q?=E7=9B=AE=E5=BD=9560?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pipeline_service/agent_loop.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipeline_service/agent_loop.py b/pipeline_service/agent_loop.py index 12d7f86..333fc07 100644 --- a/pipeline_service/agent_loop.py +++ b/pipeline_service/agent_loop.py @@ -1022,7 +1022,7 @@ async def _build_role_skills_block(sor, project_id, role, org_id=""): lines = ["## 可用技能(目录,优先级 角色>项目>产线>组织>通用)"] for s in others[:60]: tag = SCOPE_TAG.get(getattr(s, 'scope', ''), getattr(s, 'scope', '')) - lines.append(f"- [{tag}] {s.name}: {(s.description or '')[:60]}") + lines.append(f"- [{tag}] {s.name}: {(s.description or '')[:100]}") blocks.append("\n".join(lines)) return "\n\n".join(blocks) except Exception as e: