Skip to content

Commit 13ebeb9

Browse files
fix: correct preemptive_compaction schema comment default value (#400)
The JSDoc comment incorrectly stated 'default: false' but since v2.9.0 preemptive compaction is enabled by default. Fixes #398 Co-authored-by: sisyphus-dev-ai <[email protected]>
1 parent 2452a47 commit 13ebeb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/config/schema.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ export const DynamicContextPruningConfigSchema = z.object({
172172
export const ExperimentalConfigSchema = z.object({
173173
aggressive_truncation: z.boolean().optional(),
174174
auto_resume: z.boolean().optional(),
175-
/** Enable preemptive compaction at threshold (default: false) */
175+
/** Enable preemptive compaction at threshold (default: true since v2.9.0) */
176176
preemptive_compaction: z.boolean().optional(),
177177
/** Threshold percentage to trigger preemptive compaction (default: 0.80) */
178178
preemptive_compaction_threshold: z.number().min(0.5).max(0.95).optional(),

0 commit comments

Comments
 (0)