Skip to content

Commit

Permalink
Merge pull request #1607 from azep-ninja/fix/google-api-key-character…
Browse files Browse the repository at this point in the history
…-file

fix: Google API Key not passing from character file
  • Loading branch information
shakkernerd authored Dec 31, 2024
2 parents 86fcc1d + 3e156f8 commit 76b93a5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/core/src/generation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@ export async function generateText({

case ModelProviderName.GOOGLE: {
const google = createGoogleGenerativeAI({
apiKey,
fetch: runtime.fetch,
});

Expand Down

0 comments on commit 76b93a5

Please sign in to comment.