fix(preemptive-compaction): increase token threshold from 0.80 to 0.85

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
This commit is contained in:
YeonGyu-Kim
2025-12-20 13:35:22 +09:00
parent 3c039cba49
commit 917979495a

View File

@@ -1,3 +1,3 @@
export const DEFAULT_THRESHOLD = 0.80
export const DEFAULT_THRESHOLD = 0.85
export const MIN_TOKENS_FOR_COMPACTION = 50_000
export const COMPACTION_COOLDOWN_MS = 60_000