From 1826dab66b46262d736f478dd957d53b73e89cf0 Mon Sep 17 00:00:00 2001 From: ivamp Date: Mon, 14 Oct 2024 23:57:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20=E5=86=85=E7=BD=AE?= =?UTF-8?q?=E5=B7=A5=E5=85=B7=E5=88=A4=E6=96=AD=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/chat/Chat.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/chat/Chat.vue b/src/components/chat/Chat.vue index 8b0fa02..3b802fe 100644 --- a/src/components/chat/Chat.vue +++ b/src/components/chat/Chat.vue @@ -683,14 +683,14 @@ function streamChat(streamId: String, redirect = false) { } else { chatStore.toolName = "正在搜索 " + url; } - } else if (data.tool_call_message.function_name === "calculator") { + } else if (data.tool_call_message.function_name === "builtin_calculator") { chatStore.toolName = "正在计算"; } else if ( - data.tool_call_message.function_name === "generate_image" + data.tool_call_message.function_name === "builtin_generate_image" ) { chatStore.toolName = "生成图片中"; } else if ( - data.tool_call_message.function_name === "describe_image" + data.tool_call_message.function_name === "builtin_describe_image" ) { chatStore.toolName = "正在理解图片"; }