From 559157f757f116efbfeb264c443cab6550d74902 Mon Sep 17 00:00:00 2001 From: Ted <2508067350@qq.com> Date: Wed, 19 Feb 2025 11:24:42 +0800 Subject: [PATCH] update stream false --- app/store/chat.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/store/chat.ts b/app/store/chat.ts index 87c1a8beb..9efab9c51 100644 --- a/app/store/chat.ts +++ b/app/store/chat.ts @@ -460,7 +460,7 @@ export const useChatStore = createPersistStore( // make request api.llm.chat({ messages: sendMessages, - config: { ...modelConfig, stream: true }, + config: { ...modelConfig, stream: false }, onUpdate(message) { botMessage.streaming = true; if (message) { @@ -773,7 +773,7 @@ export const useChatStore = createPersistStore( ), config: { ...modelcfg, - stream: true, + stream: false, model, providerName, },