mirror of
https://github.com/stackblitz/bolt.new
synced 2025-02-06 04:48:04 +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) {
|
export function getGoogleModel(apiKey: string, model: string) {
|
||||||
const google = createGoogleGenerativeAI(
|
const google = createGoogleGenerativeAI({
|
||||||
apiKey,
|
apiKey,
|
||||||
);
|
});
|
||||||
|
|
||||||
return google(model);
|
return google(model);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user