mirror of
https://github.com/ultraworkers/claw-code-parity.git
synced 2026-06-23 02:01:11 +00:00
9 lines
210 B
Python
9 lines
210 B
Python
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
|