agent: Support GEMINI_API_KEY environment variable (#34574)
Google Gemini Docs now recommend usage of `GEMINI_API_KEY` and the legacy `GOOGLE_AI_API_KEY` variable is no longer supported in the modern SDKs. Zed will now accept either. Release Notes: - N/A
This commit is contained in:
parent
b4c2ae5196
commit
f82ef1f76f
2 changed files with 7 additions and 4 deletions
|
@ -237,7 +237,7 @@ You can use Gemini models with the Zed agent by choosing it via the model dropdo
|
|||
|
||||
The Google AI API key will be saved in your keychain.
|
||||
|
||||
Zed will also use the `GOOGLE_AI_API_KEY` environment variable if it's defined.
|
||||
Zed will also use the `GEMINI_API_KEY` environment variable if it's defined. See [Using Gemini API keys](Using Gemini API keys) in the Gemini docs for more.
|
||||
|
||||
#### Custom Models {#google-ai-custom-models}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue