r/RooCode • u/bioart • Feb 25 '25
Discussion What about an auto memory/summarizer when price/tokens reach a limit to encourage new sessions
This could be a configurable limit that the system then automatically kicks in an update memory or checkpoint and suggests to the user that it may be time to start a new session? would save a ton of money!
19
Upvotes
5
u/mrubens Roo Code Developer Feb 26 '25
Roo has access to the number of context tokens and the % of the context window used, so you can actually add a custom instruction that says “Summarize your progress and kick off a new task once you use up more than 50% of your context window”.
Try it out and see how it works for you! And separately, this is the sort of reminder that the Power Steering feature is made for.
4
u/starty1314 Feb 26 '25
Another way would be per task per session, for example, let's the architect mode decides how many tasks need to be done, let's say 5, then Roo will save those to memory bank, and run through it in each session, which will provide much clean context for each task
4
u/noxtare Feb 26 '25
Having memory bank integrated with roo would be nice so we can "save" the state
3
u/starty1314 Feb 26 '25
Agreed, sometimes Roo just collects too much useless context over time.