mirror of
https://github.com/instructkr/claw-code.git
synced 2026-04-04 23:24:50 +08:00
feat: Python porting workspace with reference data and parity audit
This commit is contained in:
8
src/costHook.py
Normal file
8
src/costHook.py
Normal 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
|
||||
Reference in New Issue
Block a user