docs: correct compaction prune default (#30670)

This commit is contained in:
Aiden Cline
2026-06-03 22:37:39 -05:00
committed by GitHub
parent b6305cb4cb
commit 9251e5d8c4
19 changed files with 38 additions and 38 deletions
+2 -2
View File
@@ -491,14 +491,14 @@ Du kan styre kontekstkomprimeringsadfærd gennem indstillingen `compaction`.
"$schema": "https://opencode.ai/config.json",
"compaction": {
"auto": true,
"prune": true,
"prune": false,
"reserved": 10000
}
}
```
- `auto` - Komprimer automatisk sessionen, når konteksten er fuld (standard: `true`).
- `prune` - Fjern gamle værktøjsudgange for at gemme tokens (standard: `true`).
- `prune` - Fjern gamle værktøjsudgange for at gemme tokens (standard: `false`).
- `reserved` - Tokenbuffer til komprimering. Efterlader nok vindue til at undgå overløb under komprimering
---