Skip to content

Ability to Visualize Context Window like Claude Code #29

@zazendev9900

Description

@zazendev9900

Describe the feature or problem you'd like to solve

When working with agents, we have to guess when the context window will get filled. If that happens, the model starts losing context and performing poorly.

Proposed solution

This snapshot is from Claude Code. We can see the context window stats using /context command.
Image

If GitHub Copilot CLI gets something smiliar, it would let us see:

  • the total context window size
  • how many tokens used by the model
  • how many tokens used by the messages array
  • how many token remaining
  • etc

We can then optimize the context of that session. It would save us time and effort in the long run by getting consistent results from the model.

Thank you for considering.

Example prompts or workflows

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestinvestigatingWe're investigating this report

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions