# agent: Support GEMINI_API_KEY environment variable \(\#34574\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/f82ef1f76ffd06670ebd7a509dd34666346fb679)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: f82ef1f76ffd06670ebd7a509dd34666346fb679

Requested commit: f82ef1f76ffd06670ebd7a509dd34666346fb679

Commit: f82ef1f76ffd06670ebd7a509dd34666346fb679

Tree: 4af6812bcb84242ba3ebd6783b8b94580aa01ae4

Author: Peter Tripp

Committer: GitHub

## Message

```
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
```

## Parents

- [b4c2ae5196910d204370731892863aa3f931c90d](https://git.cafe/gitcafe/zed/commit/b4c2ae5196910d204370731892863aa3f931c90d?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/f82ef1f76ffd06670ebd7a509dd34666346fb679?format=markdown)
