# agent_ui: Make stopping a running terminal cancel thread generation \(\#46663\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 70da1763536cd852af3ca4a7ce43057e100fd55f

Requested commit: 70da1763536cd852af3ca4a7ce43057e100fd55f

Commit: 70da1763536cd852af3ca4a7ce43057e100fd55f

Tree: 750fc5e8a38a8cba85c67432aa3579a57d3bd9bc

Author: Danilo Leal

Committer: GitHub

## Message

```
agent_ui: Make stopping a running terminal cancel thread generation (#46663)

This makes stopping a terminal tool call in the agent panel also cancel
the thread generation:


https://github.com/user-attachments/assets/702ba078-53a8-4816-80f3-b6215e764365

Release Notes:

- Agent: Made the act of stopping a terminal tool call in the agent
panel also cancel the thread generation.
```

## Parents

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

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