Update google.ts

This commit is contained in:
黑云白土
2024-03-28 15:52:38 +08:00
committed by GitHub
parent cd30368da9
commit f8b180ac44

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;