From 0072ede4b1b2454c955a81e34a27fce0b4936d56 Mon Sep 17 00:00:00 2001 From: shaoyongjun Date: Thu, 16 May 2024 19:12:56 +0800 Subject: [PATCH] to:sync --- static/ai-chat.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/ai-chat.html b/static/ai-chat.html index 44f7468..0bf5867 100644 --- a/static/ai-chat.html +++ b/static/ai-chat.html @@ -135,7 +135,7 @@ // 结束时的回调。1.将消息添加到历史消息中 2.将等待状态设置为false () => {addMessage("assistant", htmlSpanElement.innerHTML); waiting = false}, // 发生错误时的回调 - (error) => {console.log(error)} + (error) => {console.log(error); waiting = false} ); }