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() } } }