Update google.ts
This commit is contained in:
parent
cd30368da9
commit
f8b180ac44
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue