Context Overflow

It's the second time I get the error due to Context overflow. First time I cleaned the sessiosn with rm -rf ~/.clawdbot/agents/main/sessions/* - but how can I fix this once and for all? I am using Claude Opus 4.5 by default.
Was this page helpful?