From 905c1f6b18409d69dc51330a5cf8722db720a20d Mon Sep 17 00:00:00 2001 From: chiguyong Date: Sat, 13 Jun 2026 11:32:45 +0800 Subject: [PATCH] =?UTF-8?q?fix(gui):=20=E4=BF=AE=E5=A4=8D=E5=AF=B9?= =?UTF-8?q?=E8=AF=9D=E6=97=A0skill=E6=97=B6=E6=97=A0=E6=B3=95=E8=81=8A?= =?UTF-8?q?=E5=A4=A9=E3=80=81=E7=A9=BA=E5=AF=B9=E8=AF=9D=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E3=80=81=E8=BE=93=E5=85=A5=E6=A1=86=E6=B8=85=E7=A9=BA=E3=80=81?= =?UTF-8?q?=E7=9B=91=E6=8E=A7=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - portal.py: 移除 all_skills 空检查,无 skill 时 fallback 到直接 LLM 对话 - portal.py: general 路径 agent 为 None 时也 fallback 到直接对话 - ChatView.vue: onMounted 自动创建默认对话 - ChatInput.vue: nextTick 清空输入框 - evolution_dashboard.py: usage API 从 LLMGateway.UsageTracker 读取真实数据 - DashboardOverview.vue: 活跃 agent 从 capabilities API 获取 --- .../src/components/chat/ChatInput.vue | 7 ++--- .../evolution/DashboardOverview.vue | 7 +++-- .../server/frontend/src/views/ChatView.vue | 10 ++++--- .../server/routes/evolution_dashboard.py | 15 ++++------ src/agentkit/server/routes/portal.py | 28 +++++++++++++++---- 5 files changed, 41 insertions(+), 26 deletions(-) diff --git a/src/agentkit/server/frontend/src/components/chat/ChatInput.vue b/src/agentkit/server/frontend/src/components/chat/ChatInput.vue index 7ddcd87..435906c 100644 --- a/src/agentkit/server/frontend/src/components/chat/ChatInput.vue +++ b/src/agentkit/server/frontend/src/components/chat/ChatInput.vue @@ -33,7 +33,7 @@