# Encourage editing over re-creating a file from scratch \(\#29870\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 4d51602e7be7c7c42cbd36a343e1da54c0ed1ad4

Requested commit: 4d51602e7be7c7c42cbd36a343e1da54c0ed1ad4

Commit: 4d51602e7be7c7c42cbd36a343e1da54c0ed1ad4

Tree: 0c29867ef5641d70deda3458f0e172be257c6c7f

Author: Antonio Scandurra

Committer: GitHub

## Message

```
Encourage editing over re-creating a file from scratch (#29870)

I also introduced a new eval to prove the encouragement actually makes a
difference.

Release Notes:

- Improved agent behavior when streaming edits, encouraging it to
editing files as opposed to creating them from scratch
```

## Parents

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

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