From 5eed97a79c8743e4d1d9c2f49eff56b4e3ab1007 Mon Sep 17 00:00:00 2001 From: sp mac bookpro 2605 Date: Mon, 27 Jul 2026 17:33:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=A4=96=E9=83=A8=E5=B7=A5?= =?UTF-8?q?=E5=85=B7=E7=BC=96=E8=BE=91=E5=99=A8=E7=9A=84=20API=20=E5=8D=A1?= =?UTF-8?q?=E7=89=87=E6=A0=87=E9=A2=98=E6=98=BE=E7=A4=BA=EF=BC=9A=E4=BC=98?= =?UTF-8?q?=E5=85=88=E6=98=BE=E7=A4=BA=E5=B7=A5=E5=85=B7=E5=90=8D=EF=BC=8C?= =?UTF-8?q?=E6=97=A0=E5=B7=A5=E5=85=B7=E5=90=8D=E6=97=B6=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E9=BB=98=E8=AE=A4=E7=BC=96=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/ExternalToolEditor.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/ExternalToolEditor.tsx b/src/components/ExternalToolEditor.tsx index 7d800c3..6d988da 100644 --- a/src/components/ExternalToolEditor.tsx +++ b/src/components/ExternalToolEditor.tsx @@ -304,6 +304,7 @@ export default function ExternalToolEditor({ open, agentId, plugin, onClose, onS {fields.map((field, index) => { const isExpanded = expandedApiIndexes.includes(index); + const apiName = apis[index]?.name; return ( : } > - {`API ${index + 1}`} + {apiName || `API-${index}`} } className="agent-editor-tool-card"