# Fix update of prompt usage count when using text threads \(\#35671\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 42699411f6b3d81089d42233621e1f81dbec4eab

Requested commit: 42699411f6b3d81089d42233621e1f81dbec4eab

Commit: 42699411f6b3d81089d42233621e1f81dbec4eab

Tree: 0f9df1ec9e6f95e8a5395c4ca360ea5aa533c341

Author: Michael Sloan

Committer: GitHub

## Message

```
Fix update of prompt usage count when using text threads (#35671)

Release Notes:

- Fixed update of prompt usage count when using agent text threads.

Co-authored-by: Oleksiy <oleksiy@zed.dev>
```

## Parents

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

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