# Use the same prompt as agent thread summary for text threads \(\#35669\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 86957a5614335d9bc555ab5ce5f49f4a47fa5b2d

Requested commit: 86957a5614335d9bc555ab5ce5f49f4a47fa5b2d

Commit: 86957a5614335d9bc555ab5ce5f49f4a47fa5b2d

Tree: 744e499e09a300f5240568b102304bece558e58e

Author: Michael Sloan

Committer: GitHub

## Message

```
Use the same prompt as agent thread summary for text threads (#35669)

This was causing text thread summarization to be counted as a usage of 1
prompt

Release Notes:

- Fixed bug with agent text threads (not chat threads) counting
summarization as a usage of 1 prompt.

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

## Parents

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

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