Merge branch 'ChatGPTNextWeb:main' into main

This commit is contained in:
do02fw
2024-04-15 19:10:50 +08:00
committed by GitHub
11 changed files with 569 additions and 94 deletions

View File

@@ -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;