Skip to content

Clarify token usage in TUI footer#46

Open
YangLeeFangfei wants to merge 1 commit into
MagicCube:mainfrom
YangLeeFangfei:clarify-token-usage-footer
Open

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

Conversation

@YangLeeFangfei
Copy link
Copy Markdown

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

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.

1 participant