Feature Request: Auto-Summarize and New Session when a LLM Context Nears Full #4160
dbsxdbsx
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is your feature request related to a problem? Please describe.
When using Claude 4 models, even with their large 200K context window, complex tasks can still hit the context limit, causing tasks to fail or be incomplete. While we already have a feature displaying real-time context usage percentage, manual intervention is still needed when the context is about to be exhausted.
Describe the solution you'd like
We propose a new feature: when the context usage reaches a user-defined threshold (e.g., 90%), Roo Code could:
Describe alternatives you've considered
Currently, users have to manually monitor the context, copy relevant parts, summarize, and start a new session. This is time-consuming and error-prone.
Note
If this feature is added, it should not ruin the auto switch mode for the orchestrator routine, for example, if it raise a new chat by a sub task of
code
mode, when the new chat is completed, it should also sum both it and its previous code chat together back to the previous mode(usually theorchestrator
mode)Beta Was this translation helpful? Give feedback.
All reactions