# Fix CC tool state on cancel \(\#35763\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 6912dc8399148dd0caf951ce0bba711de7279f01

Requested commit: 6912dc8399148dd0caf951ce0bba711de7279f01

Commit: 6912dc8399148dd0caf951ce0bba711de7279f01

Tree: c8d1b852c2eab916f82341bdd07d4bd88c5f9f65

Author: Agus Zubiaga

Committer: GitHub

## Message

```
Fix CC tool state on cancel (#35763)

When we stop the generation, CC tells us the tool completed, but it was
actually cancelled.

Release Notes:

- N/A
```

## Parents

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

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