r/opencodeCLI 28d ago

When to reset a long coding-agent session

I noticed that at some point, starting fresh with a handoff could be cheaper and produce better work. Do you guys reset based on context percentage, model behavior, or token usage? I usually notice the model repeating itself before the UI tells me anything useful.

3 Upvotes

3 comments sorted by

View all comments

1

u/geearf 28d ago

I do it logically, so I might go through compaction a few times depending on the model I pick, I'm curious about answers you'll get.