feat(usage): add minimax usage snapshot

This commit is contained in:
Peter Steinberger
2026-01-14 09:57:32 +00:00
parent 40fb59e5f7
commit 18b4575e4d
8 changed files with 316 additions and 1 deletions

View File

@@ -7,6 +7,7 @@ import {
fetchCodexUsage,
fetchCopilotUsage,
fetchGeminiUsage,
fetchMinimaxUsage,
fetchZaiUsage,
} from "./provider-usage.fetch.js";
import {
@@ -70,6 +71,8 @@ export async function loadProviderUsageSummary(
timeoutMs,
fetchFn,
);
case "minimax":
return await fetchMinimaxUsage(auth.token, timeoutMs, fetchFn);
case "zai":
return await fetchZaiUsage(auth.token, timeoutMs, fetchFn);
default: