# Add character limits to edit prediction prompt generation \(\#23814\) · gitcafe/zed

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

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

Visibility: public

Requested revision: ade3e45a36f829821db5d933de105f2c9d0e0485

Requested commit: ade3e45a36f829821db5d933de105f2c9d0e0485

Commit: ade3e45a36f829821db5d933de105f2c9d0e0485

Tree: edb5a6e64a3eda6ef3bb2fd9fc091a17316d7855

Author: Michael Sloan

Committer: GitHub

## Message

```
Add character limits to edit prediction prompt generation (#23814)

Limits the size of the buffer excerpt and the size of change history.

Release Notes:

- N/A

---------

Co-authored-by: Richard <richard@zed.dev>
Co-authored-by: Joao <joao@zed.dev>
```

## Parents

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

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