fabro/crates/arc-api
Bryan Helmkamp ae6dd66384 Simplify AggregateUsageTotals: named struct, derive totals from by_model
Replace opaque (i64, i64, i64, f64) tuple with ModelUsageTotals struct
for readable field access. Remove redundant top-level token/cost fields
that duplicated by_model sums — derive them at read time instead.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-04 22:04:28 -05:00
..
src Simplify AggregateUsageTotals: named struct, derive totals from by_model 2026-03-04 22:04:28 -05:00
tests Fix cargo fmt formatting across workspace 2026-03-04 00:36:44 -05:00
Cargo.toml Add /, /health, /openapi.json, /user endpoints to Arc API 2026-03-04 21:10:59 -05:00