Skip to content

Commit 9179794

Browse files
committed
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
1 parent 3c039cb commit 9179794

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
export const DEFAULT_THRESHOLD = 0.80
1+
export const DEFAULT_THRESHOLD = 0.85
22
export const MIN_TOKENS_FOR_COMPACTION = 50_000
33
export const COMPACTION_COOLDOWN_MS = 60_000

0 commit comments

Comments
 (0)