mirror of
https://github.com/tiennm99/ccs.git
synced 2026-09-16 04:18:46 +00:00
Anthropic OAuth usage returns utilization as a percent (0-100) while the older policy-limits restrictions payload returns a 0-1 ratio. The shared heuristic "value <= 1 means ratio" misinterpreted percent values like 1.0, rendering 1% Sonnet usage as 100% used. Pass the unit explicitly from each payload branch so the same boundary value is interpreted correctly in either format.