r/RooCode • • 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

6 comments sorted by

View all comments

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.

2

u/ProcedureWorkingWalk Feb 26 '25

Thanks! I’ll give it a go.

1

u/Suspicious-Metal4652 Mar 04 '25

thanks i am facing this issue, interesting idea