Every agent's model. One place. Codex on DeepSeek, Claude Code on Kimi, from the menu bar.
gui: capHeldNote writes the window's reset time once
yetone6e0bd5447db3
diff --git a/internal/gui/assets/app.js b/internal/gui/assets/app.jsindex 8f58d8a41..fa0bff548 100644--- a/internal/gui/assets/app.js+++ b/internal/gui/assets/app.js@@ -13629,12 +13629,13 @@ function directNote(agent) {return t("{agent} is signed in to this account and asks its vendor itself, not through magpie, so with no other account on to move it to, {agent} goes on using it past the cap. Add another account, or pick {agent}'s models via magpie, for the cap to hold it", { agent });}function capHeldNote(held, cap, several, direct) {+ const back = held.back ? " · " + resetText(new Date(held.back), new Date(held.back).toLocaleString(intlLang())) : "";if (direct) {// the account is held for what goes through magpie, but the agent// signed in to it isn't: the note doesn't say it is safe at its capconst n = el("span", "using acap-held acap-direct", t("At its cap · {agent} still uses it", { agent: direct }));n.title = t("A usage window is at {n}%, past this account's {cap}% cap: requests through magpie are refused with a usage-cap error until it renews", { n: Math.round(held.used), cap })- + (held.back ? " · " + resetText(new Date(held.back), new Date(held.back).toLocaleString(intlLang())) : "")+ + back+ "\n" + directNote(direct);return n;}@@ -13642,13 +13643,13 @@ function capHeldNote(held, cap, several, direct) {const names = held.some.join(", ");const n = el("span", "using acap-held", held.back ? t("{names} at its cap · back {in}", { names, in: untilText(held.back) }) : t("{names} at its cap", { names }));n.title = t("{names} is at {n}%, past this account's {cap}% cap, so magpie sends the requests it counts to the other accounts until it renews; other models still use this account", { names, n: Math.round(held.used), cap })- + (held.back ? " · " + resetText(new Date(held.back), new Date(held.back).toLocaleString(intlLang())) : "")+ + back+ (several ? "" : "\n" + t("With no other account on, those requests are refused with a usage-cap error until then"));return n;}const n = el("span", "using acap-held", held.back ? t("At its cap · back {in}", { in: untilText(held.back) }) : t("At its cap"));n.title = t("A usage window is at {n}%, past this account's {cap}% cap, so magpie counts it as used up and sends requests to the other accounts until that window renews", { n: Math.round(held.used), cap })- + (held.back ? " · " + resetText(new Date(held.back), new Date(held.back).toLocaleString(intlLang())) : "")+ + back+ (several ? "" : "\n" + t("With no other account on, requests are refused with a usage-cap error until then"));return n;}