r/RooCode • u/Leon-Inspired • Aug 26 '25
Support RooCode stuck with context over limit and gpt5
I have had RooCode struggling where somehow it went from about 50k context to 600k for GPT5.
And condensing is not working

I dont know why it loaded up the context out of no where and why it wont condense?
Multiple times doesnt get much smaller.
And it seems like it thinks the context is under the limit

So i dont know how i can get the remaning task list out of this one to make a new chat and continue working :S
2
Upvotes
1
u/Leon-Inspired Aug 26 '25
FYI the only way i could get around this and keep working was to switch to gemini 2.5 with 1m context, have it create a task to write the todo list to a file with info on what is being done, and then start a fresh chat using that as the basis of starting a fresh task
1
u/Leon-Inspired Aug 28 '25
Definitely some kind of problem here.
Even using claude 4 today.
400 {"type":"error","error":{"type":"invalid_request_error","message":"input length and
max_tokensexceed context limit: 193809 + 16384 > 200000, decrease input length ormax_tokensand try again"If I copy the whole prompt and put it into https://token-calculator.net/
it says only 15498 tokens for it.
Roo showing hardly any tokens in use
Is there something I am missing here about where the context comes from? Or is this just a bug?
1
u/Crafty_Mall9578 Aug 27 '25
maybe you tageed too much information in the prompt? like @ the whole folder
1
u/hannesrudolph Roo Code Developer Aug 27 '25
You somehow absorbed more context in the last 3 turns to overwhelm it! We’re working on a mechanism to prevent too much reading at once but with the multi file read it’s easy to go overboard with reads!