Skip to content

Clarify token usage in TUI footer#46

Merged
MagicCube merged 1 commit into
MagicCube:mainfrom
YangLeeFangfei:clarify-token-usage-footer
May 21, 2026
Merged

Clarify token usage in TUI footer#46
MagicCube merged 1 commit into
MagicCube:mainfrom
YangLeeFangfei:clarify-token-usage-footer

Conversation

@YangLeeFangfei
Copy link
Copy Markdown
Contributor

Summary

  • Clarify the TUI footer token display by separating latest input tokens from cumulative session tokens
  • Add a small token usage helper based on provider-reported AssistantMessage usage
  • Add unit coverage for token usage summaries

Notes

This only changes how provider-reported token usage is displayed. It does not estimate the full context window or change context management behavior.

Tests

  • bun run check

@MagicCube MagicCube merged commit 482fb4b into MagicCube:main May 21, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants