ModelConnector/crates
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Meta Vens 65665225bf meter: the weekly reading is kept fresh by one real claude call, not an endpoint the token cannot reach
The usage endpoint answers 403 to a setup token (inference scope only), so the poll
could never work. The connector's own claude -p call already carries the week in its
rate_limit_event (captured 2026-11-03: seven_day utilization 0.06 and its reset).
The meter makes that call (haiku, no tools, trivial prompt) when the seven_day
reading is 15 minutes stale, only while the swarm brake store reads released, and
backs off per consecutive miss. Deleted usage_poll, the ureq dependency, and the
quota rule that only a polled reading needed (POLLED, rejection-stands).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 12:16:40 +01:00
..
claude-connector meter: the weekly reading is kept fresh by one real claude call, not an endpoint the token cannot reach 2026-11-03 12:16:40 +01:00
model-connector connector-usage-only: regenerate v4 goldens and schemas, format, fix tests 2026-10-31 04:51:05 +01:00