Skip to content

Commit

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

fix: Google API Key not passing from character file
  • Loading branch information
shakkernerd authored Dec 31, 2024
2 parents be32c9a + a73e198 commit 7d1809d
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 7d1809d

Please sign in to comment.