黑云白土 před 1 rokem
rodič
revize
f8b180ac44
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  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);
     options.onController?.(controller);
     try {
     try {
       let googleChatPath = visionModel
       let googleChatPath = visionModel
-        ? Google.VisionChatPath
-        : Google.ChatPath;
+        ? Google.VisionChatPath(modelConfig.model)
+        : Google.ChatPath(modelConfig.model);
       let chatPath = this.path(googleChatPath);
       let chatPath = this.path(googleChatPath);
 
 
       // let baseUrl = accessStore.googleUrl;
       // let baseUrl = accessStore.googleUrl;