From 325b210398cdcf1fe631fa0068cda8716a19c1b9 Mon Sep 17 00:00:00 2001 From: Sunner Sun Date: Mon, 4 Mar 2024 19:59:02 +0800 Subject: [PATCH] fix: Gemini return partial response --- src/bots/google/BardBot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bots/google/BardBot.js b/src/bots/google/BardBot.js index 18756f383b..0f3ed3ab26 100644 --- a/src/bots/google/BardBot.js +++ b/src/bots/google/BardBot.js @@ -40,7 +40,7 @@ function generateReq(model, prompt) { "", null, [1], - 1, + 0, null, null, 1,