浏览代码

Update google.ts

黑云白土 1 年之前
父节点
当前提交
f8b180ac44
共有 1 个文件被更改,包括 2 次插入2 次删除
  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;