# agent: Report usage from thread summarization requests \(\#29012\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 676cc109a35f87e332eba5ae9ed7fd81edd4cf71

Requested commit: 676cc109a35f87e332eba5ae9ed7fd81edd4cf71

Commit: 676cc109a35f87e332eba5ae9ed7fd81edd4cf71

Tree: 9d9a0c7ded39bca1b84e8bc12164a71b173338f0

Author: Marshall Bowers

Committer: GitHub

## Message

```
agent: Report usage from thread summarization requests (#29012)

This PR makes it so the thread summarization also reports the model
request usage, to prevent the case where the count would appear to jump
by 2 the next time a message was sent after summarization.

Release Notes:

- N/A
```

## Parents

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

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