# agent2: Fix token count not updating when changing model/toggling burn mode \(\#36562\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 4290f043cdb33c1f9ae5e296f95bd0509bb88b5b

Requested commit: 4290f043cdb33c1f9ae5e296f95bd0509bb88b5b

Commit: 4290f043cdb33c1f9ae5e296f95bd0509bb88b5b

Tree: 034e5858dde416bd3365ac1fef45bb682b0c54f8

Author: Bennet Bo Fenner

Committer: GitHub

## Message

```
agent2: Fix token count not updating when changing model/toggling burn mode (#36562)

Release Notes:

- N/A

---------

Co-authored-by: Antonio Scandurra <me@as-cii.com>
```

## Parents

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

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