Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Add context window visibility #973

Open
jlhood opened this issue Mar 27, 2025 · 2 comments
Open

Feature Request: Add context window visibility #973

jlhood opened this issue Mar 27, 2025 · 2 comments
Labels
q chat Related to the Q agentic chat experience

Comments

@jlhood
Copy link
Contributor

jlhood commented Mar 27, 2025

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.
@mr-lee
Copy link
Collaborator

mr-lee commented Mar 27, 2025

Thanks for the request! I think this makes a lot of sense - especially because it will be important for users to see how much of the context window is being used.

We'll look into some solutions - there are some limits to how we handle history and message size today - so we can likely use these to start.

@mschrage mschrage added the q chat Related to the Q agentic chat experience label Mar 27, 2025
@GoodluckH
Copy link
Collaborator

Something like this?

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
q chat Related to the Q agentic chat experience
Projects
None yet
Development

No branches or pull requests

4 participants