aws / aws/amazon-q-developer-cli

Feature Request: Add context window visibility

Open
#973 2 comments 0 reactions 0 assignees View on GitHub
q chat
Dominant language
Rust
Stars
2k
Forks
439
PR merge metrics
No merged PRs in 30d

Description

Q chat needs to add visibility into how much context window has been consumed, especially when the amount of remaining context is getting low. Claude Code has a nice UX for this to give you some ideas.

1. Doesn't need to be super precise/accurate. Just a rough % is fine. Knowing that it's 24.32% vs 26.81% is not important to me. I'm looking for whether it's ~20% vs ~60%.
2. With the new `/context` feature, it's important to know what % is being taken up by context files. For example, `/context show --expand` could show what % context files are taking up. Or if you go with Claude Code style where they show the amount somewhere near the prompt, split it into % taken up by context files and % taken up by chat.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.