docs: add proactive context usage and compaction guidance
This commit is contained in:
@@ -71,6 +71,21 @@ keepTurns: 10 # More history
|
||||
summaryMaxTokens: 4096 # Detailed summaries
|
||||
```
|
||||
|
||||
### Proactive Compaction Signals
|
||||
|
||||
Use proactive thresholds to checkpoint before compaction cliffs and emit warning telemetry:
|
||||
|
||||
```yaml
|
||||
compaction:
|
||||
proactive:
|
||||
enabled: true
|
||||
warn_pct: 75
|
||||
checkpoint_pct: 85
|
||||
auto_compact_pct: 95
|
||||
checkpoint_cooldown_ms: 300000
|
||||
memory_namespace: session/checkpoints
|
||||
```
|
||||
|
||||
### Context Depth Levels
|
||||
|
||||
Control how much context is injected into the system prompt:
|
||||
|
||||
Reference in New Issue
Block a user