# Tolerate edits ending with \`\</edits\>\` instead of \`\</new_text\>\` \(\#31453\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 4acb4730a5a75f90bd701630e05788c3c76b9f6c

Requested commit: 4acb4730a5a75f90bd701630e05788c3c76b9f6c

Commit: 4acb4730a5a75f90bd701630e05788c3c76b9f6c

Tree: 35c2d53eff99ea9543ac186bff9bcbeb4d86c223

Author: Antonio Scandurra

Committer: GitHub

## Message

```
Tolerate edits ending with `</edits>` instead of `</new_text>` (#31453)

Release Notes:

- Improve reliability of the agent when a model outputs malformed edits.
```

## Parents

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

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