On ContextOverflowError (400 with context-length body), restore pre-turn snapshot, compact, and retry the turn once. Covers runaway context growth that slips past the proactive 75% threshold. OLLIE_MAX_SESSION_COST (USD) blocks turn start and interrupts mid-turn via the usage event handler, which fires between every tool round. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| agent | ||
| backend | ||
| config | ||
| env | ||
| log | ||
| paths | ||
| skills | ||
| store | ||
| tools | ||