# Handle startup failure for gemini-cli \(\#35624\) · gitcafe/zed

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

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

Visibility: public

Requested revision: a508a9536fb4a8b46e36ef74ef23a642f17daab6

Requested commit: a508a9536fb4a8b46e36ef74ef23a642f17daab6

Commit: a508a9536fb4a8b46e36ef74ef23a642f17daab6

Tree: 595711f65ee3f92672fba301592de18ea7835b17

Author: Cole Miller

Committer: GitHub

## Message

```
Handle startup failure for gemini-cli (#35624)

This PR adds handling for the case where the user's gemini-cli binary
fails to start up because it's too old to support the
`--experimental-acp` flag. We previously had such handling, but it got
lost as part of #35578.

This doesn't yet handle the case where the server binary exits
unexpectedly after the connection is established; that'll be dealt with
in a follow-up PR since it needs different handling and isn't specific
to gemini-cli.

Release Notes:

- N/A

Co-authored-by: Agus <agus@zed.dev>
```

## Parents

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

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