hm_ai_qc_report_tool/modules/usage
nickviljoen e910e00edf Add Usage Dashboard with token tracking, cost estimates, and filters
- New UsageLog model tracking every LLM API call (provider, model,
  tokens, estimated cost, user, module, check name)
- Instrument LLMConfig.call_vision_api() to auto-log each call
- New /usage tab in nav bar with dashboard showing:
  - Summary cards (total calls, tokens, estimated cost)
  - Breakdowns by provider, model, tool, and user
  - Recent API calls table
  - Time filters (All Time, 30 Days, 7 Days, Today)
- Cost estimates based on per-model token pricing
- Pass logged-in user through executor context for tracking

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-21 18:17:21 +02:00
..
templates/usage Add Usage Dashboard with token tracking, cost estimates, and filters 2026-03-21 18:17:21 +02:00
__init__.py Add Usage Dashboard with token tracking, cost estimates, and filters 2026-03-21 18:17:21 +02:00
routes.py Add Usage Dashboard with token tracking, cost estimates, and filters 2026-03-21 18:17:21 +02:00