This commit is contained in:
GH Action - Upstream Sync
2024-04-16 00:42:52 +00:00
3 changed files with 24 additions and 8 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;