From 03c32376b8ad03e6239b59115dae94b837418478 Mon Sep 17 00:00:00 2001 From: Fred Date: Wed, 7 Feb 2024 13:11:27 +0800 Subject: [PATCH] chore: revert to allow stream --- app/client/platforms/google.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/client/platforms/google.ts b/app/client/platforms/google.ts index b598430a179..6e335e7fd2f 100644 --- a/app/client/platforms/google.ts +++ b/app/client/platforms/google.ts @@ -74,7 +74,7 @@ export class GeminiProApi implements LLMApi { const isApp = !!getClientConfig()?.isApp; - const shouldStream = !!options.config.stream && !isApp; + const shouldStream = !!options.config.stream; const controller = new AbortController(); options.onController?.(controller); const accessStore = useAccessStore.getState();