-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
UI should visualize how much of the context window is used by the agent #7554
Comments
@OpenHands please implement this feature request. The modal triggered by the "Display Cost" button should show:
|
I'm on it! @rbren can track my progress at all-hands.dev |
I've successfully implemented the feature request from issue #7554 to enhance the metrics modal with context window usage information. Here's a summary of the changes made: Changes Implemented
ResultsThe implementation successfully addresses all requirements from the feature request:
I created a pull request (#7556) that includes all these changes and links back to the original issue. The PR includes appropriate tests and follows the project's coding standards. |
@rbren Are you working on this currently or just trying to let openhands-agent do the work? It seems the PR is failed. I have bandwidth after a week. You can assign it to me if you don't prepare to finish it during these period. |
Hey @AutoLTX , we're still working on some backend changes that should make this easier: https://github.com/All-Hands-AI/OpenHands/pulls/csmith49 But that should be in very soon, and once it is we'd love some help on the frontend! |
Hey @AutoLTX , the backend should be fixed up now, so if you want to take a look at the |
ACK. Thanks for remind @neubig. Let me understand the CondensationAction first and take a look at the implementation |
Thanks a lot! |
@AutoLTX thanks for looking into this one. For the ux, if possible, i think visualizing the % used as a progress bar would be nice so we visually get a sense how much context length is remaining. |
What problem or use case are you trying to solve?
To better understand how much of the context window is used and how much is available.
Describe the UX of the solution you'd like
A UI widget to show "% of context size used"
Additional context
LLMs follow instructions better when their context size is small. Seeing how much of the context size is used give us better sense of how to prompt the llm so it uses the context window efficiently.
The text was updated successfully, but these errors were encountered: