diff --git a/app/lib/.server/llm/model.ts b/app/lib/.server/llm/model.ts index 1babe7a2c..13f3555e9 100644 --- a/app/lib/.server/llm/model.ts +++ b/app/lib/.server/llm/model.ts @@ -41,9 +41,9 @@ export function getMistralModel(apiKey: string, model: string) { } export function getGoogleModel(apiKey: string, model: string) { - const google = createGoogleGenerativeAI( + const google = createGoogleGenerativeAI({ apiKey, - ); + }); return google(model); }