Raise the preemptive compaction trigger point from 80% to 85% to reduce false-positive compactions and allow longer session contexts before automatic compaction kicks in.
🤖 Generated with assistance of OhMyOpenCode
4 lines
131 B
TypeScript
4 lines
131 B
TypeScript
export const DEFAULT_THRESHOLD = 0.85
|
|
export const MIN_TOKENS_FOR_COMPACTION = 50_000
|
|
export const COMPACTION_COOLDOWN_MS = 60_000
|