From f8b180ac4418286c5149a72f32b9f6eb96ae33fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=91=E4=BA=91=E7=99=BD=E5=9C=9F?= Date: Thu, 28 Mar 2024 15:52:38 +0800 Subject: [PATCH] Update google.ts --- app/client/platforms/google.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/client/platforms/google.ts b/app/client/platforms/google.ts index 848e5cd3f..3a814b903 100644 --- a/app/client/platforms/google.ts +++ b/app/client/platforms/google.ts @@ -112,8 +112,8 @@ export class GeminiProApi implements LLMApi { options.onController?.(controller); try { let googleChatPath = visionModel - ? Google.VisionChatPath - : Google.ChatPath; + ? Google.VisionChatPath(modelConfig.model) + : Google.ChatPath(modelConfig.model); let chatPath = this.path(googleChatPath); // let baseUrl = accessStore.googleUrl;