# eval: Add support for reading from a \`\.env\` file \(\#29426\) · gitcafe/zed

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

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

Visibility: public

Requested revision: a5405fcbd709cf4836d71a73a69e663aa3bb90e8

Requested commit: a5405fcbd709cf4836d71a73a69e663aa3bb90e8

Commit: a5405fcbd709cf4836d71a73a69e663aa3bb90e8

Tree: ba3dd374983b93229c50ddb7b8244ee9a1a75aa0

Author: Marshall Bowers

Committer: GitHub

## Message

````
eval: Add support for reading from a `.env` file (#29426)

This PR adds support for the eval to read environment variables from a
`.env` file located in the `crates/eval` directory.

For instance, you can use it to set your Anthropic API key:

```
ANTHROPIC_API_KEY=<secret>
```

Release Notes:

- N/A
````

## Parents

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

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