Explorar o código

Update google.ts

黑云白土 hai 1 ano
pai
achega
f8b180ac44
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      app/client/platforms/google.ts

+ 2 - 2
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;