# Only reject agent actions, don't restore checkpoint on revert \(\#37801\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 96c429d2c3b09739eda0a5acd3fe34c4321a7dbf

Requested commit: 96c429d2c3b09739eda0a5acd3fe34c4321a7dbf

Commit: 96c429d2c3b09739eda0a5acd3fe34c4321a7dbf

Tree: 6a28714cbdb17f953f1035f81c6f9dcf906962cd

Author: Conrad Irwin

Committer: GitHub

## Message

```
Only reject agent actions, don't restore checkpoint on revert (#37801)

Updates #37623

Release Notes:

- Changed the behaviour when editing an old message in a native agent
thread.
Prior to this, it would automatically restore the checkpoint (which
could
lead to a surprising amount of work being discarded). Now it will just
reject
any unaccepted agent edits, and you can use the "restore checkpoint"
button
  for the original behavior.
```

## Parents

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

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