# agent: Fix max token count mismatch when not using burn mode \(\#34025\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 66a1c356bfc8510a2528d34c9df825d5db540e7a

Requested commit: 66a1c356bfc8510a2528d34c9df825d5db540e7a

Commit: 66a1c356bfc8510a2528d34c9df825d5db540e7a

Tree: 0650b7cde7767057f83637ae3e9e69a3aaed73a0

Author: Bennet Bo Fenner

Committer: GitHub

## Message

```
agent: Fix max token count mismatch when not using burn mode (#34025)

Closes #31854

Release Notes:

- agent: Fixed an issue where the maximum token count would be displayed
incorrectly when burn mode was not being used.
```

## Parents

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

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