From bf87fbe203e17da19ae4d9639d992b3d6df84d40 Mon Sep 17 00:00:00 2001 From: shaohuzhang1 Date: Mon, 18 Dec 2023 10:20:34 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BC=98=E5=8C=96=E5=AF=B9=E8=AF=9D?= =?UTF-8?q?=E6=B5=81=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ui/src/components/ai-chat/index.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ui/src/components/ai-chat/index.vue b/ui/src/components/ai-chat/index.vue index 51b1cfccc..e23966cb2 100644 --- a/ui/src/components/ai-chat/index.vue +++ b/ui/src/components/ai-chat/index.vue @@ -290,7 +290,8 @@ function chatMessage() { ChatManagement.append(id, content) } if (chunk.is_end) { - ChatManagement.close(id) + // 流处理成功 返回成功回调 + return Promise.resolve() } } }