The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
docs: describe the summary-provider-overload abort in the compression failure ladder
teknium14c4b0b748e99
diff --git a/website/docs/developer-guide/context-compression-and-caching.md b/website/docs/developer-guide/context-compression-and-caching.mdindex f0d3dfd0199..460ffb8445d 100644--- a/website/docs/developer-guide/context-compression-and-caching.md+++ b/website/docs/developer-guide/context-compression-and-caching.md@@ -204,6 +204,14 @@ attempt anyway:compaction rebinds the compressor and resets the ladder count, so eachcompaction cycle grants the LLM route one stall before escalating; thepersisted cooldown row still paces attempts across turns and restarts.+- **Summary provider overloaded → abort, transcript kept.** When the summary+ call fails with a provider-overload error (`overloaded`, `at capacity`,+ HTTP 529) and the one-shot main-model retry also fails, compress() aborts+ and preserves the transcript unchanged instead of committing the+ deterministic fallback; the warning names the overload+ (`failure_class=summary_overload_failure`) and `/compress` retries once+ capacity recovers. Auth/quota, network and empty-content failures already+ abort the same way.- **Provider-proven overflow** — when the provider itself rejects the requestwith a context-length error, the recovery pass ignores the cooldown for onebounded attempt (`max_compression_attempts`) without clearing it. Deferring