Skip to content

agent: Hide token usage after running /compact - #58937

Merged
bennetbo merged 1 commit into
mainfrom
hide-token-usage-after-compaction
Jun 9, 2026
Merged

agent: Hide token usage after running /compact#58937
bennetbo merged 1 commit into
mainfrom
hide-token-usage-after-compaction

Conversation

@bennetbo

@bennetbo bennetbo commented Jun 9, 2026

Copy link
Copy Markdown
Member

We can't compute the actual token usage until we send a new request, so we hide the token count until you send another message. Matching the behaviour that we have for new threads

Release Notes:

  • N/A

Co-authored-by: Richard Feldman <oss@rtfeldman.com>
@cla-bot cla-bot Bot added the cla-signed The user has signed the Contributor License Agreement label Jun 9, 2026
@zed-community-bot zed-community-bot Bot added the staff Pull requests authored by a current member of Zed staff label Jun 9, 2026
@bennetbo bennetbo changed the title agent: Hide token usage after running /compact agent: Hide token usage after running /compact Jun 9, 2026
@bennetbo
bennetbo enabled auto-merge June 9, 2026 15:05
@bennetbo
bennetbo added this pull request to the merge queue Jun 9, 2026
Merged via the queue into main with commit 0bc6c76 Jun 9, 2026
45 checks passed
@bennetbo
bennetbo deleted the hide-token-usage-after-compaction branch June 9, 2026 15:13
This was referenced Jun 18, 2026
jonx pushed a commit to jonx/zed-aros that referenced this pull request Jul 17, 2026
We can't compute the actual token usage until we send a new request, so
we hide the token count until you send another message. Matching the
behaviour that we have for new threads

Release Notes:

- N/A

Co-authored-by: Richard Feldman <oss@rtfeldman.com>
jolutz pushed a commit to jolutz/zed that referenced this pull request Aug 8, 2026
We can't compute the actual token usage until we send a new request, so
we hide the token count until you send another message. Matching the
behaviour that we have for new threads

Release Notes:

- N/A

Co-authored-by: Richard Feldman <oss@rtfeldman.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement staff Pull requests authored by a current member of Zed staff

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant