tweak: rename tail_tokens -> preserve_recent_tokens (#23491)

This commit is contained in:
Aiden Cline 2026-04-20 01:06:29 -05:00 committed by GitHub
commit c6c56ac2cf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 23 additions and 20 deletions

View file

@ -1648,9 +1648,9 @@ export type Config = {
*/
tail_turns?: number
/**
* Token budget for retained recent turn spans during compaction
* Maximum number of tokens from recent turns to preserve verbatim after compaction
*/
tail_tokens?: number
preserve_recent_tokens?: number
/**
* Token buffer for compaction. Leaves enough window to avoid overflow during compaction.
*/