Skip to content

[Feat] Display model context window badge in model selector#148

Merged
samzong merged 1 commit intomainfrom
model-list-capabilities
Mar 23, 2026
Merged

[Feat] Display model context window badge in model selector#148
samzong merged 1 commit intomainfrom
model-list-capabilities

Conversation

@samzong
Copy link
Copy Markdown
Collaborator

@samzong samzong commented Mar 23, 2026

What's changed?

  • Add formatContextWindow() helper to render token counts as human-readable labels (200K, 1M)
  • Display context window as a blue info badge next to the model name in both the trigger button and dropdown menu items
  • Existing reasoning "R" badge (green accent) remains unchanged

Why

  • Model selector only showed model name and reasoning badge — context window size is useful information for model selection

@github-actions
Copy link
Copy Markdown
Contributor

Hi @samzong,
Thanks for your pull request!
If the PR is ready, use the /auto-cc command to assign Reviewer to Review.
We will review it shortly.

Details

Instructions for interacting with me using comments are available here.
If you have questions or suggestions related to my behavior, please file an issue against the gh-ci-bot repository.

@samzong samzong merged commit 4fd0ee6 into main Mar 23, 2026
6 checks passed
@samzong samzong deleted the model-list-capabilities branch March 24, 2026 06:20
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