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: "知路智能体",