mirror of
https://github.com/xavidop/cardex.git
synced 2026-08-28 17:01:07 +00:00
fix: specify the key
This commit is contained in:
+3
-1
@@ -10,6 +10,8 @@ if (!apiKey) {
|
||||
}
|
||||
|
||||
export const ai = genkit({
|
||||
plugins: [googleAI()],
|
||||
plugins: [
|
||||
googleAI({apiKey})
|
||||
],
|
||||
model: 'googleai/gemini-2.5-pro-preview-05-06',
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user