Update google.ts

This commit is contained in:
黑云白土 2024-03-28 15:52:38 +08:00 committed by GitHub
parent cd30368da9
commit f8b180ac44
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -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.VisionChatPath(modelConfig.model)
: Google.ChatPath; : Google.ChatPath(modelConfig.model);
let chatPath = this.path(googleChatPath); let chatPath = this.path(googleChatPath);
// let baseUrl = accessStore.googleUrl; // let baseUrl = accessStore.googleUrl;