# Fix panic when using sweep AI without token env var \(\#42940\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 5c70f8391f42a2d8dff25b214c183285a9c184ae

Requested commit: 5c70f8391f42a2d8dff25b214c183285a9c184ae

Commit: 5c70f8391f42a2d8dff25b214c183285a9c184ae

Tree: 20d50858f44b8f95d4a8aebe11a2cf1607abcfac

Author: Max Brunsfeld

Committer: GitHub

## Message

```
Fix panic when using sweep AI without token env var (#42940)

Release Notes:

- N/A
```

## Parents

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

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