fix: correct minimax usage + show reset

This commit is contained in:
Peter Steinberger committed 2026-01-16 09:36:45 +00:00
1 parent d0c986c4f0
commit 0391f6553b
5 files changed
+65 -13

No files matched your search

+5 -1
View File
@@ -424,7 +424,11 @@ export async function modelsStatusCommand(
timeoutMs: 3500,
});
for (const snapshot of usageSummary.providers) {
const formatted = formatUsageWindowSummary(snapshot, { now: Date.now(), maxWindows: 2 });
const formatted = formatUsageWindowSummary(snapshot, {
now: Date.now(),
maxWindows: 2,
includeResets: true,
});
if (formatted) {
usageByProvider.set(snapshot.provider, formatted);
}