mirror of
https://github.com/stackblitz-labs/bolt.diy
synced 2025-03-09 21:50:36 +00:00
Fix google api key bug
This commit is contained in:
parent
feb19509f6
commit
e55fb57138
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user