From 482f9cec05302dccdf95654ae1c317f532e51d15 Mon Sep 17 00:00:00 2001 From: Chuck1sn Date: Mon, 26 May 2025 12:00:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=AA=E6=89=BE=E5=88=B0=E6=9C=89=E6=95=88?= =?UTF-8?q?=E6=8C=87=E4=BB=A4=EF=BC=8C=E8=AF=B7=E9=87=8D=E6=96=B0=E8=BE=93?= =?UTF-8?q?=E5=85=A5=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/composables/ai/useAiChat.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/composables/ai/useAiChat.ts b/frontend/src/composables/ai/useAiChat.ts index e804c39..5d1ca91 100644 --- a/frontend/src/composables/ai/useAiChat.ts +++ b/frontend/src/composables/ai/useAiChat.ts @@ -63,7 +63,9 @@ export const useAiChat = () => { body: message, }); messages.value.push({ - content: "接收到指令,请您执行。", + content: data?.action + ? "接收到指令,请您执行。" + : "未找到有效指令,请重新输入。", type: "action", isUser: false, username: "知路智能体",