docs: refresh failover and compaction refs

This commit is contained in:
Peter Steinberger
2026-04-04 14:44:42 +01:00
parent bbb73d3171
commit 73584b1d33
5 changed files with 27 additions and 3 deletions

View File

@@ -216,7 +216,10 @@ Compaction is **persistent** (unlike session pruning). See [/concepts/session-pr
In the embedded Pi agent, auto-compaction triggers in two cases:
1. **Overflow recovery**: the model returns a context overflow error → compact → retry.
1. **Overflow recovery**: the model returns a context overflow error
(`request_too_large`, `context length exceeded`, `input exceeds the maximum
number of tokens`, `input is too long for the model`, and similar
provider-shaped variants) → compact → retry.
2. **Threshold maintenance**: after a successful turn, when:
`contextTokens > contextWindow - reserveTokens`