From f6e054b7ef68f4f243236dcafe1f7da484679e26 Mon Sep 17 00:00:00 2001 From: ikechan8370 Date: Tue, 19 Nov 2024 10:55:45 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20bot=E4=B8=80=E7=9B=B4=E9=AA=82=E6=88=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/CustomGoogleGeminiClient.js | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/client/CustomGoogleGeminiClient.js b/client/CustomGoogleGeminiClient.js index b15b052..4923506 100644 --- a/client/CustomGoogleGeminiClient.js +++ b/client/CustomGoogleGeminiClient.js @@ -172,11 +172,12 @@ export class CustomGoogleGeminiClient extends GoogleGeminiClient { // codeExecution: {} } ] - body.tool_config = { - function_calling_config: { - mode: 'ANY' - } - } + // 笑死人的效果 + // body.tool_config = { + // function_calling_config: { + // mode: 'ANY' + // } + // } } if (opt.image) { delete body.tools