Skip to content

Commit 76b93a5

Browse files
authored
Merge pull request #1607 from azep-ninja/fix/google-api-key-character-file
fix: Google API Key not passing from character file
2 parents 86fcc1d + 3e156f8 commit 76b93a5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/core/src/generation.ts

+1
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,7 @@ export async function generateText({
224224

225225
case ModelProviderName.GOOGLE: {
226226
const google = createGoogleGenerativeAI({
227+
apiKey,
227228
fetch: runtime.fetch,
228229
});
229230

0 commit comments

Comments
 (0)