Fix google api key bug

This commit is contained in:
eduardruzga 2024-11-13 22:22:08 +02:00
parent feb19509f6
commit e55fb57138

View File

@ -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);
}