# update semantic search to use keychain as fallback \(\#3151\) · gitcafe/zed

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

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

Visibility: public

Requested revision: ef1a69156d624b4cb3879f8b2f52640f426f9657

Requested commit: ef1a69156d624b4cb3879f8b2f52640f426f9657

Commit: ef1a69156d624b4cb3879f8b2f52640f426f9657

Tree: 393fa7a01eeadad71ea86ae151f7f810bd41dad3

Author: Kyle Caverly

Committer: GitHub

## Message

```
update semantic search to use keychain as fallback (#3151)

Use the keychain for authenticating as fallback when api_key is not
present in environment variables.

Release Notes:

- Add consistency between OPENAI_API_KEY management in Semantic Search
and Assistant
```

## Parents

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

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

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