# agent: Add ability to interrupt current generation with a new message \(\#28762\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 8f52bb92b6995b4c66a9501968c34e7f3f7de7c3

Requested commit: 8f52bb92b6995b4c66a9501968c34e7f3f7de7c3

Commit: 8f52bb92b6995b4c66a9501968c34e7f3f7de7c3

Tree: 7ae3b28b6f65a623e5a7dd6ea555aa7d9710fb7b

Author: Danilo Leal

Committer: GitHub

## Message

```
agent: Add ability to interrupt current generation with a new message (#28762)

If you wanted to interrupt the current LLM response that's generating to
send a follow up message, you'd need to stop it first, type your new
message, and then send it. Now, you can just type your new message while
there's a response generating and send it. This will interrupt the
previous response generation and kick off a new one.

Release Notes:

- agent: Allow to send a new message while a response is generating,
interrupting the LLM to focus instead on the most recent prompt.
```

## Parents

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

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