fix: auto compaction threshold default 200k tokens

This commit is contained in:
Yeachan-Heo
2026-04-01 03:55:00 +00:00
commit 6b5331576e
202 changed files with 31071 additions and 0 deletions

8
src/costHook.py Normal file
View File

@@ -0,0 +1,8 @@
from __future__ import annotations
from .cost_tracker import CostTracker
def apply_cost_hook(tracker: CostTracker, label: str, units: int) -> CostTracker:
tracker.record(label, units)
return tracker