Skip to content

Support using the environment variable GEMINI_API_KEY in addition to GOOGLE_API_KEY#238

Open
WilliamHua wants to merge 2 commits intoMagnivOrg:masterfrom
WilliamHua:feature/support-gemini-api-key
Open

Support using the environment variable GEMINI_API_KEY in addition to GOOGLE_API_KEY#238
WilliamHua wants to merge 2 commits intoMagnivOrg:masterfrom
WilliamHua:feature/support-gemini-api-key

Conversation

@WilliamHua
Copy link

promptlayer.run requires GOOGLE_API_KEY to be set when using a Google model.

Add in support to also allow users to alternatively use GEMINI_API_KEY (official google docs here use GEMINI_API_KEY as the environment variable).

We already use GOOGLE_API_KEY elsewhere in our code base so we cannot set this environment variable.

@WilliamHua
Copy link
Author

Should I bump the version? Not super familiar with python libraries

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants