Commit Graph

2 Commits

Author SHA1 Message Date
Paul O'Reilly
c0a2110ee6 fix(agent-subscriptions): handle MiniMax API v2 response shape
MiniMax changed from category_remains[text_generation] with count fields
to model_remains[general] with remaining_percent fields. Now tries v2
first (100 - remaining_percent), falls back to v1 count-based calculation.
2026-06-03 20:49:20 +12:00
Paul O'Reilly
b0130bf06b feat(agent-subscriptions): add script to show AI provider subscription usage
Probes Anthropic OAuth and MiniMax subscription usage and displays
percentage consumed for 5-hour and 7-day windows with colour-coded output.
Ported probe logic from agent-runtimes/scripts/ralph_code.
2026-06-03 20:43:24 +12:00