# assistant edit tool: Track read buffers and notify model of user edits \(\#26952\) · gitcafe/zed

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

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

Visibility: public

Requested revision: a05066cd834da5cebe021fa85f8bd2d23228a70e

Requested commit: a05066cd834da5cebe021fa85f8bd2d23228a70e

Commit: a05066cd834da5cebe021fa85f8bd2d23228a70e

Tree: 2de66343003ea8eeb692d4328904683ca3e87682

Author: Agus Zubiaga

Committer: GitHub

## Message

```
assistant edit tool: Track read buffers and notify model of user edits (#26952)

When the model reads file, we'll track the version it read, and let it
know if the user makes edits to the buffer. This helps prevent edit
failures because it'll know to re-read the file before.

Release Notes:

- N/A
```

## Parents

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

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