keep recent turns during session compaction
This commit is contained in:
@@ -1069,6 +1069,18 @@ export namespace Config {
|
||||
.object({
|
||||
auto: z.boolean().optional().describe("Enable automatic compaction when context is full (default: true)"),
|
||||
prune: z.boolean().optional().describe("Enable pruning of old tool outputs (default: true)"),
|
||||
tail_turns: z
|
||||
.number()
|
||||
.int()
|
||||
.min(0)
|
||||
.optional()
|
||||
.describe("Number of recent real user turns to keep verbatim during compaction (default: 2)"),
|
||||
tail_tokens: z
|
||||
.number()
|
||||
.int()
|
||||
.min(0)
|
||||
.optional()
|
||||
.describe("Token budget for retained recent turns during compaction"),
|
||||
reserved: z
|
||||
.number()
|
||||
.int()
|
||||
|
||||
Reference in New Issue
Block a user