# ep: Fix V0420 Diagnostics format \(\#55798\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 20f86a729fc5511515c21a3e9b4fcc9adc7e2eaf

Requested commit: 20f86a729fc5511515c21a3e9b4fcc9adc7e2eaf

Commit: 20f86a729fc5511515c21a3e9b4fcc9adc7e2eaf

Tree: aae6732fdcaf831105585a8992962eef1f0d4e99

Author: Oleksiy Syvokon

Committer: GitHub

## Message

```
ep: Fix V0420 Diagnostics format (#55798)

- Truncated diagnostics to fit ~2000 tokens
- Moved the diagnostics section before the cursor snippet
- Increased total tokens limit for this prompt to 8192 tokens

Release Notes:

- N/A

Co-authored-by: Ben Kunkle <ben@zed.dev>
```

## Parents

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

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