7.4 billion tokens per month. 34 free LLM providers. 635 free model endpoints. All behind one /v1 endpoint, plus any custom OpenAI-compatible endpoint. Smart routing, automatic failover, encrypted keys. Personal experimentation only.
TypeScript
feat(keys): cap-usage bar in the Edit key dialog (#1158, phase 3 of #1665) (#1669)
tashdroida84a4324a1ec
diff --git a/client/src/components/keys/cap-usage.ts b/client/src/components/keys/cap-usage.tsnew file mode 100644index 00000000..eb4ca9fb--- /dev/null+++ b/client/src/components/keys/cap-usage.ts@@ -0,0 +1,8 @@+/** Fraction (0..1+, uncapped = null) of a monthly cap already spent, and+ * whether it is at/over the 80% soft-alert threshold the server logs at+ * (services/budget-alerts.ts). Pure so the arithmetic is testable. */+export function capUsage(used: number, cap: number): { fraction: number; overWarning: boolean } | null {+ if (!Number.isFinite(cap) || cap <= 0) return null+ const fraction = Math.max(0, used) / cap+ return { fraction, overWarning: fraction >= 0.8 }+}diff --git a/client/src/components/keys/edit-key-dialog.test.tsx b/client/src/components/keys/edit-key-dialog.test.tsxindex 62aa9b7e..1c901cde 100644--- a/client/src/components/keys/edit-key-dialog.test.tsx+++ b/client/src/components/keys/edit-key-dialog.test.tsx@@ -7,6 +7,7 @@ import { I18nProvider } from '@/i18n'import { apiFetch } from '@/lib/api'import type { ApiKey } from '../../../../shared/types'import { EditKeyDialog } from './edit-key-dialog'+import { capUsage } from './cap-usage'import { EditModelsDialog } from './edit-models-dialog'vi.mock('@/lib/api', () => ({ apiFetch: vi.fn() }))@@ -118,6 +119,39 @@ describe('editing provider credentials', () => {mount(<EditKeyDialog apiKey={{ ...key, platform: 'groq', monthlyRequestCap: 50 }} onOpenChange={onOpenChange} />)expect(document.querySelector('details')!.open).toBe(true)})+ it('renders a usage bar with the 80% warning once a capped key crosses it', async () => {+ mount(<EditKeyDialog apiKey={{ ...key, platform: 'groq', monthlyRequestCap: 100, monthlyTokenCap: 0,+ monthlyUsage: { requests: 85, tokens: 10, resetsAt: '2026-11-01T00:00:00.000Z' } }} onOpenChange={onOpenChange} />)+ const bars = container.querySelectorAll('[role="progressbar"]')+ // Only the capped dimension gets a bar (token cap = unlimited).+ expect(bars.length).toBe(1)+ expect(bars[0]!.getAttribute('aria-valuenow')).toBe('85')+ expect(container.textContent).toContain('85 of 100 (85%)')+ expect(container.textContent).toContain('Over 80% of this cap')+ })+ it('shows the exhausted warning at 100% and no warning below 80%', async () => {+ mount(<EditKeyDialog apiKey={{ ...key, platform: 'groq', monthlyRequestCap: 100,+ monthlyUsage: { requests: 100, tokens: 0, resetsAt: '2026-11-01T00:00:00.000Z' } }} onOpenChange={onOpenChange} />)+ expect(container.textContent).toContain('Cap reached')+ // Tear the first root down properly: clearing innerHTML before unmount+ // leaves React removing nodes that are no longer children (NOT_FOUND_ERR).+ act(() => root.unmount())+ container.remove()+ container = document.createElement('div')+ document.body.appendChild(container)+ root = createRoot(container)+ mount(<EditKeyDialog apiKey={{ ...key, platform: 'groq', monthlyRequestCap: 100,+ monthlyUsage: { requests: 79, tokens: 0, resetsAt: '2026-11-01T00:00:00.000Z' } }} onOpenChange={onOpenChange} />)+ expect(container.textContent).not.toContain('Over 80%')+ expect(container.textContent).toContain('79 of 100 (79%)')+ })+ it('capUsage: uncapped is null, cap <= 0 never divides', () => {+ expect(capUsage(5, 0)).toBeNull()+ expect(capUsage(5, -1)).toBeNull()+ expect(capUsage(80, 100)).toEqual({ fraction: 0.8, overWarning: true })+ expect(capUsage(79, 100)).toEqual({ fraction: 0.79, overWarning: false })+ expect(capUsage(150, 100)!.overWarning).toBe(true)+ })it('does not submit a non-numeric cap', async () => {mount(<EditKeyDialog apiKey={{ ...key, platform: 'groq' }} onOpenChange={onOpenChange} />)enter('#edit-key-request-cap', '10k')diff --git a/client/src/components/keys/edit-key-dialog.tsx b/client/src/components/keys/edit-key-dialog.tsxindex ceeedd70..e71ed76e 100644--- a/client/src/components/keys/edit-key-dialog.tsx+++ b/client/src/components/keys/edit-key-dialog.tsx@@ -11,6 +11,7 @@ import type { ApiKey } from '../../../../shared/types'import { useI18n } from '@/i18n'import { PLATFORMS } from './shared'import { GroupLabelField } from './group-label-field'+import { capUsage } from './cap-usage'type UpdateBody = {label?: string@@ -36,6 +37,47 @@ function capToInput(cap: number | undefined): string {return cap && cap > 0 ? String(cap) : ''}+/** A slim progress bar for one cap: neutral normally, amber at the 80% soft+ * alert, red at the cap itself (the state where the server 429s). Mirrors+ * the budget-alert thresholds so the dialog and the Logs page never+ * disagree about "how close is this key to running out". */+function CapUsageBar({ label, used, cap }: { label: string; used: number; cap: number }) {+ const { t } = useI18n()+ const usage = capUsage(used, cap)+ if (!usage) return null+ const pctShown = Math.floor(usage.fraction * 100)+ const tone = usage.fraction >= 1+ ? 'bg-destructive'+ : usage.overWarning+ ? 'bg-amber-500'+ : 'bg-primary/60'+ return (+ <div className="space-y-1">+ <div className="flex items-baseline justify-between gap-2 text-[11px] text-muted-foreground">+ <span>{label}</span>+ <span className={usage.overWarning ? 'font-medium text-foreground' : undefined}>+ {t('keys.capUsagePercent', { used: used.toLocaleString(), cap: cap.toLocaleString(), pct: pctShown })}+ </span>+ </div>+ <div+ role="progressbar"+ aria-label={label}+ aria-valuenow={pctShown}+ aria-valuemin={0}+ aria-valuemax={100}+ className="h-1 w-full overflow-hidden rounded-full bg-muted"+ >+ <div className={`h-full rounded-full ${tone}`} style={{ width: `${Math.min(100, pctShown)}%` }} />+ </div>+ {usage.overWarning && (+ <p className={`text-[11px] ${usage.fraction >= 1 ? 'text-destructive' : 'text-amber-600 dark:text-amber-500'}`}>+ {usage.fraction >= 1 ? t('keys.capExhaustedWarning') : t('keys.capWarning80')}+ </p>+ )}+ </div>+ )+}+/** Edit the mutable parts of a key without deleting its stable endpoint* identity. Changing the credential itself is deliberately explicit: the* field starts empty because the API never sends plaintext secrets back. */@@ -261,6 +303,20 @@ export function EditKeyDialog({</div></div><p className="mt-1.5 text-[11px] text-muted-foreground">{t('keys.capEditHint')}</p>+ {apiKey.monthlyUsage && (apiKey.monthlyRequestCap || apiKey.monthlyTokenCap) ? (+ <div className="mt-3 grid gap-3 sm:grid-cols-2">+ <CapUsageBar+ label={t('keys.monthlyRequestCapLabel')}+ used={apiKey.monthlyUsage.requests}+ cap={apiKey.monthlyRequestCap ?? 0}+ />+ <CapUsageBar+ label={t('keys.monthlyTokenCapLabel')}+ used={apiKey.monthlyUsage.tokens}+ cap={apiKey.monthlyTokenCap ?? 0}+ />+ </div>+ ) : null}</details>{updateKey.isError && (diff --git a/client/src/i18n/locales/am.json b/client/src/i18n/locales/am.jsonindex 2a499e1a..5ed8a4e7 100644--- a/client/src/i18n/locales/am.json+++ b/client/src/i18n/locales/am.json@@ -727,7 +727,10 @@"groupHandleHint": "Add #{handle} after a model id to route only to this group, e.g. custom:<model>#{handle}","copyGroupHandle": "Copy group handle","groupHandleCopied": "Copied {handle}",- "groupHandleCopyFailed": "Couldn't copy to the clipboard"+ "groupHandleCopyFailed": "Couldn't copy to the clipboard",+ "capUsagePercent": "{used} of {cap} ({pct}%)",+ "capWarning80": "Over 80% of this cap — the server logs a budget alert at this point.",+ "capExhaustedWarning": "Cap reached — new requests are rejected until the monthly reset."},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/ar.json b/client/src/i18n/locales/ar.jsonindex 5b09579d..5232c5f2 100644--- a/client/src/i18n/locales/ar.json+++ b/client/src/i18n/locales/ar.json@@ -727,7 +727,10 @@"groupHandleHint": "Add #{handle} after a model id to route only to this group, e.g. custom:<model>#{handle}","copyGroupHandle": "Copy group handle","groupHandleCopied": "Copied {handle}",- "groupHandleCopyFailed": "Couldn't copy to the clipboard"+ "groupHandleCopyFailed": "Couldn't copy to the clipboard",+ "capUsagePercent": "{used} of {cap} ({pct}%)",+ "capWarning80": "Over 80% of this cap — the server logs a budget alert at this point.",+ "capExhaustedWarning": "Cap reached — new requests are rejected until the monthly reset."},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/az.json b/client/src/i18n/locales/az.jsonindex d55db4c7..ebdf933a 100644--- a/client/src/i18n/locales/az.json+++ b/client/src/i18n/locales/az.json@@ -727,7 +727,10 @@"groupHandleHint": "Add #{handle} after a model id to route only to this group, e.g. custom:<model>#{handle}","copyGroupHandle": "Copy group handle","groupHandleCopied": "Copied {handle}",- "groupHandleCopyFailed": "Couldn't copy to the clipboard"+ "groupHandleCopyFailed": "Couldn't copy to the clipboard",+ "capUsagePercent": "{used} of {cap} ({pct}%)",+ "capWarning80": "Over 80% of this cap — the server logs a budget alert at this point.",+ "capExhaustedWarning": "Cap reached — new requests are rejected until the monthly reset."},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/bg.json b/client/src/i18n/locales/bg.jsonindex 8526105f..7894b580 100644--- a/client/src/i18n/locales/bg.json+++ b/client/src/i18n/locales/bg.json@@ -727,7 +727,10 @@"groupHandleHint": "Add #{handle} after a model id to route only to this group, e.g. custom:<model>#{handle}","copyGroupHandle": "Copy group handle","groupHandleCopied": "Copied {handle}",- "groupHandleCopyFailed": "Couldn't copy to the clipboard"+ "groupHandleCopyFailed": "Couldn't copy to the clipboard",+ "capUsagePercent": "{used} of {cap} ({pct}%)",+ "capWarning80": "Over 80% of this cap — the server logs a budget alert at this point.",+ "capExhaustedWarning": "Cap reached — new requests are rejected until the monthly reset."},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/bn.json b/client/src/i18n/locales/bn.jsonindex 24556110..fb1796d3 100644--- a/client/src/i18n/locales/bn.json+++ b/client/src/i18n/locales/bn.json@@ -727,7 +727,10 @@"groupHandleHint": "Add #{handle} after a model id to route only to this group, e.g. custom:<model>#{handle}","copyGroupHandle": "Copy group handle","groupHandleCopied": "Copied {handle}",- "groupHandleCopyFailed": "Couldn't copy to the clipboard"+ "groupHandleCopyFailed": "Couldn't copy to the clipboard",+ "capUsagePercent": "{used} of {cap} ({pct}%)",+ "capWarning80": "Over 80% of this cap — the server logs a budget alert at this point.",+ "capExhaustedWarning": "Cap reached — new requests are rejected until the monthly reset."},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/cs.json b/client/src/i18n/locales/cs.jsonindex dda755dd..00c90a99 100644--- a/client/src/i18n/locales/cs.json+++ b/client/src/i18n/locales/cs.json@@ -727,7 +727,10 @@"groupHandleHint": "Add #{handle} after a model id to route only to this group, e.g. custom:<model>#{handle}","copyGroupHandle": "Copy group handle","groupHandleCopied": "Copied {handle}",- "groupHandleCopyFailed": "Couldn't copy to the clipboard"+ "groupHandleCopyFailed": "Couldn't copy to the clipboard",+ "capUsagePercent": "{used} of {cap} ({pct}%)",+ "capWarning80": "Over 80% of this cap — the server logs a budget alert at this point.",+ "capExhaustedWarning": "Cap reached — new requests are rejected until the monthly reset."},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/da.json b/client/src/i18n/locales/da.jsonindex 6f2d5cce..c5c7f7f2 100644--- a/client/src/i18n/locales/da.json+++ b/client/src/i18n/locales/da.json@@ -727,7 +727,10 @@"groupHandleHint": "Add #{handle} after a model id to route only to this group, e.g. custom:<model>#{handle}","copyGroupHandle": "Copy group handle","groupHandleCopied": "Copied {handle}",- "groupHandleCopyFailed": "Couldn't copy to the clipboard"+ "groupHandleCopyFailed": "Couldn't copy to the clipboard",+ "capUsagePercent": "{used} of {cap} ({pct}%)",+ "capWarning80": "Over 80% of this cap — the server logs a budget alert at this point.",+ "capExhaustedWarning": "Cap reached — new requests are rejected until the monthly reset."},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/de.json b/client/src/i18n/locales/de.jsonindex 753473bf..5afe3421 100644--- a/client/src/i18n/locales/de.json+++ b/client/src/i18n/locales/de.json@@ -727,7 +727,10 @@"groupHandleHint": "Add #{handle} after a model id to route only to this group, e.g. custom:<model>#{handle}","copyGroupHandle": "Copy group handle","groupHandleCopied": "Copied {handle}",- "groupHandleCopyFailed": "Couldn't copy to the clipboard"+ "groupHandleCopyFailed": "Couldn't copy to the clipboard",+ "capUsagePercent": "{used} of {cap} ({pct}%)",+ "capWarning80": "Over 80% of this cap — the server logs a budget alert at this point.",+ "capExhaustedWarning": "Cap reached — new requests are rejected until the monthly reset."},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/el.json b/client/src/i18n/locales/el.jsonindex 3077d359..7c32a85c 100644--- a/client/src/i18n/locales/el.json+++ b/client/src/i18n/locales/el.json@@ -727,7 +727,10 @@"groupHandleHint": "Add #{handle} after a model id to route only to this group, e.g. custom:<model>#{handle}","copyGroupHandle": "Copy group handle","groupHandleCopied": "Copied {handle}",- "groupHandleCopyFailed": "Couldn't copy to the clipboard"+ "groupHandleCopyFailed": "Couldn't copy to the clipboard",+ "capUsagePercent": "{used} of {cap} ({pct}%)",+ "capWarning80": "Over 80% of this cap — the server logs a budget alert at this point.",+ "capExhaustedWarning": "Cap reached — new requests are rejected until the monthly reset."},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/en.json b/client/src/i18n/locales/en.jsonindex bfb1fa8a..9bb21716 100644--- a/client/src/i18n/locales/en.json+++ b/client/src/i18n/locales/en.json@@ -727,7 +727,10 @@"keyProxyUndo": "Undo","monthlyUsageLine": "{requests} requests, {tokens} tokens this month","quotaBalanceHint": "{remaining} of {limit} {metric} left",- "quotaBalanceLeft": "{remaining} left"+ "quotaBalanceLeft": "{remaining} left",+ "capUsagePercent": "{used} of {cap} ({pct}%)",+ "capWarning80": "Over 80% of this cap — the server logs a budget alert at this point.",+ "capExhaustedWarning": "Cap reached — new requests are rejected until the monthly reset."},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/es.json b/client/src/i18n/locales/es.jsonindex 9f7ce749..ec8c60f2 100644--- a/client/src/i18n/locales/es.json+++ b/client/src/i18n/locales/es.json@@ -727,7 +727,10 @@"groupHandleHint": "Add #{handle} after a model id to route only to this group, e.g. custom:<model>#{handle}","copyGroupHandle": "Copy group handle","groupHandleCopied": "Copied {handle}",- "groupHandleCopyFailed": "Couldn't copy to the clipboard"+ "groupHandleCopyFailed": "Couldn't copy to the clipboard",+ "capUsagePercent": "{used} of {cap} ({pct}%)",+ "capWarning80": "Over 80% of this cap — the server logs a budget alert at this point.",+ "capExhaustedWarning": "Cap reached — new requests are rejected until the monthly reset."},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/fa.json b/client/src/i18n/locales/fa.jsonindex 9afa8bd2..cf8bf09f 100644--- a/client/src/i18n/locales/fa.json+++ b/client/src/i18n/locales/fa.json@@ -727,7 +727,10 @@"groupHandleHint": "Add #{handle} after a model id to route only to this group, e.g. custom:<model>#{handle}","copyGroupHandle": "Copy group handle","groupHandleCopied": "Copied {handle}",- "groupHandleCopyFailed": "Couldn't copy to the clipboard"+ "groupHandleCopyFailed": "Couldn't copy to the clipboard",+ "capUsagePercent": "{used} of {cap} ({pct}%)",+ "capWarning80": "Over 80% of this cap — the server logs a budget alert at this point.",+ "capExhaustedWarning": "Cap reached — new requests are rejected until the monthly reset."},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/fi.json b/client/src/i18n/locales/fi.jsonindex 02735566..0814645e 100644--- a/client/src/i18n/locales/fi.json+++ b/client/src/i18n/locales/fi.json@@ -727,7 +727,10 @@"groupHandleHint": "Add #{handle} after a model id to route only to this group, e.g. custom:<model>#{handle}","copyGroupHandle": "Copy group handle","groupHandleCopied": "Copied {handle}",- "groupHandleCopyFailed": "Couldn't copy to the clipboard"+ "groupHandleCopyFailed": "Couldn't copy to the clipboard",+ "capUsagePercent": "{used} of {cap} ({pct}%)",+ "capWarning80": "Over 80% of this cap — the server logs a budget alert at this point.",+ "capExhaustedWarning": "Cap reached — new requests are rejected until the monthly reset."},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/fr.json b/client/src/i18n/locales/fr.jsonindex 9cb63a0e..db8a2fc7 100644--- a/client/src/i18n/locales/fr.json+++ b/client/src/i18n/locales/fr.json@@ -727,7 +727,10 @@"groupHandleHint": "Add #{handle} after a model id to route only to this group, e.g. custom:<model>#{handle}","copyGroupHandle": "Copy group handle","groupHandleCopied": "Copied {handle}",- "groupHandleCopyFailed": "Couldn't copy to the clipboard"+ "groupHandleCopyFailed": "Couldn't copy to the clipboard",+ "capUsagePercent": "{used} of {cap} ({pct}%)",+ "capWarning80": "Over 80% of this cap — the server logs a budget alert at this point.",+ "capExhaustedWarning": "Cap reached — new requests are rejected until the monthly reset."},"backups": {"title": "Sauvegardes",diff --git a/client/src/i18n/locales/gu.json b/client/src/i18n/locales/gu.jsonindex 3f37eab7..9df48f6e 100644--- a/client/src/i18n/locales/gu.json+++ b/client/src/i18n/locales/gu.json@@ -727,7 +727,10 @@"groupHandleHint": "Add #{handle} after a model id to route only to this group, e.g. custom:<model>#{handle}","copyGroupHandle": "Copy group handle","groupHandleCopied": "Copied {handle}",- "groupHandleCopyFailed": "Couldn't copy to the clipboard"+ "groupHandleCopyFailed": "Couldn't copy to the clipboard",+ "capUsagePercent": "{used} of {cap} ({pct}%)",+ "capWarning80": "Over 80% of this cap — the server logs a budget alert at this point.",+ "capExhaustedWarning": "Cap reached — new requests are rejected until the monthly reset."},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/ha.json b/client/src/i18n/locales/ha.jsonindex 16a70d1f..e4a7164b 100644--- a/client/src/i18n/locales/ha.json+++ b/client/src/i18n/locales/ha.json@@ -727,7 +727,10 @@"groupHandleHint": "Add #{handle} after a model id to route only to this group, e.g. custom:<model>#{handle}","copyGroupHandle": "Copy group handle","groupHandleCopied": "Copied {handle}",- "groupHandleCopyFailed": "Couldn't copy to the clipboard"+ "groupHandleCopyFailed": "Couldn't copy to the clipboard",+ "capUsagePercent": "{used} of {cap} ({pct}%)",+ "capWarning80": "Over 80% of this cap — the server logs a budget alert at this point.",+ "capExhaustedWarning": "Cap reached — new requests are rejected until the monthly reset."},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/he.json b/client/src/i18n/locales/he.jsonindex 3181675e..f3ffe006 100644--- a/client/src/i18n/locales/he.json+++ b/client/src/i18n/locales/he.json@@ -727,7 +727,10 @@"groupHandleHint": "Add #{handle} after a model id to route only to this group, e.g. custom:<model>#{handle}","copyGroupHandle": "Copy group handle","groupHandleCopied": "Copied {handle}",- "groupHandleCopyFailed": "Couldn't copy to the clipboard"+ "groupHandleCopyFailed": "Couldn't copy to the clipboard",+ "capUsagePercent": "{used} of {cap} ({pct}%)",+ "capWarning80": "Over 80% of this cap — the server logs a budget alert at this point.",+ "capExhaustedWarning": "Cap reached — new requests are rejected until the monthly reset."},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/hi.json b/client/src/i18n/locales/hi.jsonindex 93745ebe..91d2600c 100644--- a/client/src/i18n/locales/hi.json+++ b/client/src/i18n/locales/hi.json@@ -727,7 +727,10 @@"groupHandleHint": "Add #{handle} after a model id to route only to this group, e.g. custom:<model>#{handle}","copyGroupHandle": "Copy group handle","groupHandleCopied": "Copied {handle}",- "groupHandleCopyFailed": "Couldn't copy to the clipboard"+ "groupHandleCopyFailed": "Couldn't copy to the clipboard",+ "capUsagePercent": "{used} of {cap} ({pct}%)",+ "capWarning80": "Over 80% of this cap — the server logs a budget alert at this point.",+ "capExhaustedWarning": "Cap reached — new requests are rejected until the monthly reset."},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/hr.json b/client/src/i18n/locales/hr.jsonindex c8591e00..3dcd2984 100644--- a/client/src/i18n/locales/hr.json+++ b/client/src/i18n/locales/hr.json@@ -727,7 +727,10 @@"groupHandleHint": "Add #{handle} after a model id to route only to this group, e.g. custom:<model>#{handle}","copyGroupHandle": "Copy group handle","groupHandleCopied": "Copied {handle}",- "groupHandleCopyFailed": "Couldn't copy to the clipboard"+ "groupHandleCopyFailed": "Couldn't copy to the clipboard",+ "capUsagePercent": "{used} of {cap} ({pct}%)",+ "capWarning80": "Over 80% of this cap — the server logs a budget alert at this point.",+ "capExhaustedWarning": "Cap reached — new requests are rejected until the monthly reset."},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/hu.json b/client/src/i18n/locales/hu.jsonindex edcac58f..c6d012e2 100644--- a/client/src/i18n/locales/hu.json+++ b/client/src/i18n/locales/hu.json@@ -727,7 +727,10 @@"groupHandleHint": "Add #{handle} after a model id to route only to this group, e.g. custom:<model>#{handle}","copyGroupHandle": "Copy group handle","groupHandleCopied": "Copied {handle}",- "groupHandleCopyFailed": "Couldn't copy to the clipboard"+ "groupHandleCopyFailed": "Couldn't copy to the clipboard",+ "capUsagePercent": "{used} of {cap} ({pct}%)",+ "capWarning80": "Over 80% of this cap — the server logs a budget alert at this point.",+ "capExhaustedWarning": "Cap reached — new requests are rejected until the monthly reset."},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/id.json b/client/src/i18n/locales/id.jsonindex 772c0bdf..15edfc48 100644--- a/client/src/i18n/locales/id.json+++ b/client/src/i18n/locales/id.json@@ -727,7 +727,10 @@"groupHandleHint": "Add #{handle} after a model id to route only to this group, e.g. custom:<model>#{handle}","copyGroupHandle": "Copy group handle","groupHandleCopied": "Copied {handle}",- "groupHandleCopyFailed": "Couldn't copy to the clipboard"+ "groupHandleCopyFailed": "Couldn't copy to the clipboard",+ "capUsagePercent": "{used} of {cap} ({pct}%)",+ "capWarning80": "Over 80% of this cap — the server logs a budget alert at this point.",+ "capExhaustedWarning": "Cap reached — new requests are rejected until the monthly reset."},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/ig.json b/client/src/i18n/locales/ig.jsonindex 97c07294..3bee1e8a 100644--- a/client/src/i18n/locales/ig.json+++ b/client/src/i18n/locales/ig.json@@ -727,7 +727,10 @@"groupHandleHint": "Add #{handle} after a model id to route only to this group, e.g. custom:<model>#{handle}","copyGroupHandle": "Copy group handle","groupHandleCopied": "Copied {handle}",- "groupHandleCopyFailed": "Couldn't copy to the clipboard"+ "groupHandleCopyFailed": "Couldn't copy to the clipboard",+ "capUsagePercent": "{used} of {cap} ({pct}%)",+ "capWarning80": "Over 80% of this cap — the server logs a budget alert at this point.",+ "capExhaustedWarning": "Cap reached — new requests are rejected until the monthly reset."},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/it.json b/client/src/i18n/locales/it.jsonindex dd7d2279..4fe80ba2 100644--- a/client/src/i18n/locales/it.json+++ b/client/src/i18n/locales/it.json@@ -727,7 +727,10 @@"groupHandleHint": "Add #{handle} after a model id to route only to this group, e.g. custom:<model>#{handle}","copyGroupHandle": "Copy group handle","groupHandleCopied": "Copied {handle}",- "groupHandleCopyFailed": "Couldn't copy to the clipboard"+ "groupHandleCopyFailed": "Couldn't copy to the clipboard",+ "capUsagePercent": "{used} of {cap} ({pct}%)",+ "capWarning80": "Over 80% of this cap — the server logs a budget alert at this point.",+ "capExhaustedWarning": "Cap reached — new requests are rejected until the monthly reset."},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/ja.json b/client/src/i18n/locales/ja.jsonindex ea53726d..c3fe17cd 100644--- a/client/src/i18n/locales/ja.json+++ b/client/src/i18n/locales/ja.json@@ -727,7 +727,10 @@"groupHandleHint": "Add #{handle} after a model id to route only to this group, e.g. custom:<model>#{handle}","copyGroupHandle": "Copy group handle","groupHandleCopied": "Copied {handle}",- "groupHandleCopyFailed": "Couldn't copy to the clipboard"+ "groupHandleCopyFailed": "Couldn't copy to the clipboard",+ "capUsagePercent": "{used} of {cap} ({pct}%)",+ "capWarning80": "Over 80% of this cap — the server logs a budget alert at this point.",+ "capExhaustedWarning": "Cap reached — new requests are rejected until the monthly reset."},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/ka.json b/client/src/i18n/locales/ka.jsonindex 5b94ff18..6d8d74ec 100644--- a/client/src/i18n/locales/ka.json+++ b/client/src/i18n/locales/ka.json@@ -727,7 +727,10 @@"groupHandleHint": "Add #{handle} after a model id to route only to this group, e.g. custom:<model>#{handle}","copyGroupHandle": "Copy group handle","groupHandleCopied": "Copied {handle}",- "groupHandleCopyFailed": "Couldn't copy to the clipboard"+ "groupHandleCopyFailed": "Couldn't copy to the clipboard",+ "capUsagePercent": "{used} of {cap} ({pct}%)",+ "capWarning80": "Over 80% of this cap — the server logs a budget alert at this point.",+ "capExhaustedWarning": "Cap reached — new requests are rejected until the monthly reset."},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/km.json b/client/src/i18n/locales/km.jsonindex b6337b61..f1e0bef0 100644--- a/client/src/i18n/locales/km.json+++ b/client/src/i18n/locales/km.json@@ -727,7 +727,10 @@"groupHandleHint": "Add #{handle} after a model id to route only to this group, e.g. custom:<model>#{handle}","copyGroupHandle": "Copy group handle","groupHandleCopied": "Copied {handle}",- "groupHandleCopyFailed": "Couldn't copy to the clipboard"+ "groupHandleCopyFailed": "Couldn't copy to the clipboard",+ "capUsagePercent": "{used} of {cap} ({pct}%)",+ "capWarning80": "Over 80% of this cap — the server logs a budget alert at this point.",+ "capExhaustedWarning": "Cap reached — new requests are rejected until the monthly reset."},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/kn.json b/client/src/i18n/locales/kn.jsonindex ef54b1f2..8ca34384 100644--- a/client/src/i18n/locales/kn.json+++ b/client/src/i18n/locales/kn.json@@ -727,7 +727,10 @@"groupHandleHint": "Add #{handle} after a model id to route only to this group, e.g. custom:<model>#{handle}","copyGroupHandle": "Copy group handle","groupHandleCopied": "Copied {handle}",- "groupHandleCopyFailed": "Couldn't copy to the clipboard"+ "groupHandleCopyFailed": "Couldn't copy to the clipboard",+ "capUsagePercent": "{used} of {cap} ({pct}%)",+ "capWarning80": "Over 80% of this cap — the server logs a budget alert at this point.",+ "capExhaustedWarning": "Cap reached — new requests are rejected until the monthly reset."},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/ko.json b/client/src/i18n/locales/ko.jsonindex 5a78b16c..93560a37 100644--- a/client/src/i18n/locales/ko.json+++ b/client/src/i18n/locales/ko.json@@ -727,7 +727,10 @@"groupHandleHint": "Add #{handle} after a model id to route only to this group, e.g. custom:<model>#{handle}","copyGroupHandle": "Copy group handle","groupHandleCopied": "Copied {handle}",- "groupHandleCopyFailed": "Couldn't copy to the clipboard"+ "groupHandleCopyFailed": "Couldn't copy to the clipboard",+ "capUsagePercent": "{used} of {cap} ({pct}%)",+ "capWarning80": "Over 80% of this cap — the server logs a budget alert at this point.",+ "capExhaustedWarning": "Cap reached — new requests are rejected until the monthly reset."},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/lt.json b/client/src/i18n/locales/lt.jsonindex cbebeef7..b07d4f23 100644--- a/client/src/i18n/locales/lt.json+++ b/client/src/i18n/locales/lt.json@@ -727,7 +727,10 @@"groupHandleHint": "Add #{handle} after a model id to route only to this group, e.g. custom:<model>#{handle}","copyGroupHandle": "Copy group handle","groupHandleCopied": "Copied {handle}",- "groupHandleCopyFailed": "Couldn't copy to the clipboard"+ "groupHandleCopyFailed": "Couldn't copy to the clipboard",+ "capUsagePercent": "{used} of {cap} ({pct}%)",+ "capWarning80": "Over 80% of this cap — the server logs a budget alert at this point.",+ "capExhaustedWarning": "Cap reached — new requests are rejected until the monthly reset."},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/ml.json b/client/src/i18n/locales/ml.jsonindex 620dc759..ac8c64ea 100644--- a/client/src/i18n/locales/ml.json+++ b/client/src/i18n/locales/ml.json@@ -727,7 +727,10 @@"groupHandleHint": "Add #{handle} after a model id to route only to this group, e.g. custom:<model>#{handle}","copyGroupHandle": "Copy group handle","groupHandleCopied": "Copied {handle}",- "groupHandleCopyFailed": "Couldn't copy to the clipboard"+ "groupHandleCopyFailed": "Couldn't copy to the clipboard",+ "capUsagePercent": "{used} of {cap} ({pct}%)",+ "capWarning80": "Over 80% of this cap — the server logs a budget alert at this point.",+ "capExhaustedWarning": "Cap reached — new requests are rejected until the monthly reset."},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/mr.json b/client/src/i18n/locales/mr.jsonindex 230e6bc5..ce7d5037 100644--- a/client/src/i18n/locales/mr.json+++ b/client/src/i18n/locales/mr.json@@ -727,7 +727,10 @@"groupHandleHint": "Add #{handle} after a model id to route only to this group, e.g. custom:<model>#{handle}","copyGroupHandle": "Copy group handle","groupHandleCopied": "Copied {handle}",- "groupHandleCopyFailed": "Couldn't copy to the clipboard"+ "groupHandleCopyFailed": "Couldn't copy to the clipboard",+ "capUsagePercent": "{used} of {cap} ({pct}%)",+ "capWarning80": "Over 80% of this cap — the server logs a budget alert at this point.",+ "capExhaustedWarning": "Cap reached — new requests are rejected until the monthly reset."},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/ms.json b/client/src/i18n/locales/ms.jsonindex 542eaf31..02114cb4 100644--- a/client/src/i18n/locales/ms.json+++ b/client/src/i18n/locales/ms.json@@ -727,7 +727,10 @@"groupHandleHint": "Add #{handle} after a model id to route only to this group, e.g. custom:<model>#{handle}","copyGroupHandle": "Copy group handle","groupHandleCopied": "Copied {handle}",- "groupHandleCopyFailed": "Couldn't copy to the clipboard"+ "groupHandleCopyFailed": "Couldn't copy to the clipboard",+ "capUsagePercent": "{used} of {cap} ({pct}%)",+ "capWarning80": "Over 80% of this cap — the server logs a budget alert at this point.",+ "capExhaustedWarning": "Cap reached — new requests are rejected until the monthly reset."},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/my.json b/client/src/i18n/locales/my.jsonindex c9368710..56672159 100644--- a/client/src/i18n/locales/my.json+++ b/client/src/i18n/locales/my.json@@ -727,7 +727,10 @@"groupHandleHint": "Add #{handle} after a model id to route only to this group, e.g. custom:<model>#{handle}","copyGroupHandle": "Copy group handle","groupHandleCopied": "Copied {handle}",- "groupHandleCopyFailed": "Couldn't copy to the clipboard"+ "groupHandleCopyFailed": "Couldn't copy to the clipboard",+ "capUsagePercent": "{used} of {cap} ({pct}%)",+ "capWarning80": "Over 80% of this cap — the server logs a budget alert at this point.",+ "capExhaustedWarning": "Cap reached — new requests are rejected until the monthly reset."},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/ne.json b/client/src/i18n/locales/ne.jsonindex 76d3302e..92d41ecb 100644--- a/client/src/i18n/locales/ne.json+++ b/client/src/i18n/locales/ne.json@@ -727,7 +727,10 @@"groupHandleHint": "Add #{handle} after a model id to route only to this group, e.g. custom:<model>#{handle}","copyGroupHandle": "Copy group handle","groupHandleCopied": "Copied {handle}",- "groupHandleCopyFailed": "Couldn't copy to the clipboard"+ "groupHandleCopyFailed": "Couldn't copy to the clipboard",+ "capUsagePercent": "{used} of {cap} ({pct}%)",+ "capWarning80": "Over 80% of this cap — the server logs a budget alert at this point.",+ "capExhaustedWarning": "Cap reached — new requests are rejected until the monthly reset."},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/nl.json b/client/src/i18n/locales/nl.jsonindex eae2db6b..906330c9 100644--- a/client/src/i18n/locales/nl.json+++ b/client/src/i18n/locales/nl.json@@ -727,7 +727,10 @@"groupHandleHint": "Add #{handle} after a model id to route only to this group, e.g. custom:<model>#{handle}","copyGroupHandle": "Copy group handle","groupHandleCopied": "Copied {handle}",- "groupHandleCopyFailed": "Couldn't copy to the clipboard"+ "groupHandleCopyFailed": "Couldn't copy to the clipboard",+ "capUsagePercent": "{used} of {cap} ({pct}%)",+ "capWarning80": "Over 80% of this cap — the server logs a budget alert at this point.",+ "capExhaustedWarning": "Cap reached — new requests are rejected until the monthly reset."},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/no.json b/client/src/i18n/locales/no.jsonindex d1e91885..e3699a53 100644--- a/client/src/i18n/locales/no.json+++ b/client/src/i18n/locales/no.json@@ -727,7 +727,10 @@"groupHandleHint": "Add #{handle} after a model id to route only to this group, e.g. custom:<model>#{handle}","copyGroupHandle": "Copy group handle","groupHandleCopied": "Copied {handle}",- "groupHandleCopyFailed": "Couldn't copy to the clipboard"+ "groupHandleCopyFailed": "Couldn't copy to the clipboard",+ "capUsagePercent": "{used} of {cap} ({pct}%)",+ "capWarning80": "Over 80% of this cap — the server logs a budget alert at this point.",+ "capExhaustedWarning": "Cap reached — new requests are rejected until the monthly reset."},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/or.json b/client/src/i18n/locales/or.jsonindex 79e391ae..2f556bc6 100644--- a/client/src/i18n/locales/or.json+++ b/client/src/i18n/locales/or.json@@ -727,7 +727,10 @@"groupHandleHint": "Add #{handle} after a model id to route only to this group, e.g. custom:<model>#{handle}","copyGroupHandle": "Copy group handle","groupHandleCopied": "Copied {handle}",- "groupHandleCopyFailed": "Couldn't copy to the clipboard"+ "groupHandleCopyFailed": "Couldn't copy to the clipboard",+ "capUsagePercent": "{used} of {cap} ({pct}%)",+ "capWarning80": "Over 80% of this cap — the server logs a budget alert at this point.",+ "capExhaustedWarning": "Cap reached — new requests are rejected until the monthly reset."},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/pa.json b/client/src/i18n/locales/pa.jsonindex 4486746a..452cf8c0 100644--- a/client/src/i18n/locales/pa.json+++ b/client/src/i18n/locales/pa.json@@ -727,7 +727,10 @@"groupHandleHint": "Add #{handle} after a model id to route only to this group, e.g. custom:<model>#{handle}","copyGroupHandle": "Copy group handle","groupHandleCopied": "Copied {handle}",- "groupHandleCopyFailed": "Couldn't copy to the clipboard"+ "groupHandleCopyFailed": "Couldn't copy to the clipboard",+ "capUsagePercent": "{used} of {cap} ({pct}%)",+ "capWarning80": "Over 80% of this cap — the server logs a budget alert at this point.",+ "capExhaustedWarning": "Cap reached — new requests are rejected until the monthly reset."},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/pl.json b/client/src/i18n/locales/pl.jsonindex 6c513fc7..9433119a 100644--- a/client/src/i18n/locales/pl.json+++ b/client/src/i18n/locales/pl.json@@ -727,7 +727,10 @@"groupHandleHint": "Add #{handle} after a model id to route only to this group, e.g. custom:<model>#{handle}","copyGroupHandle": "Copy group handle","groupHandleCopied": "Copied {handle}",- "groupHandleCopyFailed": "Couldn't copy to the clipboard"+ "groupHandleCopyFailed": "Couldn't copy to the clipboard",+ "capUsagePercent": "{used} of {cap} ({pct}%)",+ "capWarning80": "Over 80% of this cap — the server logs a budget alert at this point.",+ "capExhaustedWarning": "Cap reached — new requests are rejected until the monthly reset."},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/pt-BR.json b/client/src/i18n/locales/pt-BR.jsonindex 60e4bfda..51ea6a3c 100644--- a/client/src/i18n/locales/pt-BR.json+++ b/client/src/i18n/locales/pt-BR.json@@ -727,7 +727,10 @@"groupHandleHint": "Add #{handle} after a model id to route only to this group, e.g. custom:<model>#{handle}","copyGroupHandle": "Copy group handle","groupHandleCopied": "Copied {handle}",- "groupHandleCopyFailed": "Couldn't copy to the clipboard"+ "groupHandleCopyFailed": "Couldn't copy to the clipboard",+ "capUsagePercent": "{used} of {cap} ({pct}%)",+ "capWarning80": "Over 80% of this cap — the server logs a budget alert at this point.",+ "capExhaustedWarning": "Cap reached — new requests are rejected until the monthly reset."},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/pt-PT.json b/client/src/i18n/locales/pt-PT.jsonindex 7066fb76..e7cfe0b5 100644--- a/client/src/i18n/locales/pt-PT.json+++ b/client/src/i18n/locales/pt-PT.json@@ -727,7 +727,10 @@"groupHandleHint": "Add #{handle} after a model id to route only to this group, e.g. custom:<model>#{handle}","copyGroupHandle": "Copy group handle","groupHandleCopied": "Copied {handle}",- "groupHandleCopyFailed": "Couldn't copy to the clipboard"+ "groupHandleCopyFailed": "Couldn't copy to the clipboard",+ "capUsagePercent": "{used} of {cap} ({pct}%)",+ "capWarning80": "Over 80% of this cap — the server logs a budget alert at this point.",+ "capExhaustedWarning": "Cap reached — new requests are rejected until the monthly reset."},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/ro.json b/client/src/i18n/locales/ro.jsonindex 7a19769a..6615631b 100644--- a/client/src/i18n/locales/ro.json+++ b/client/src/i18n/locales/ro.json@@ -727,7 +727,10 @@"groupHandleHint": "Add #{handle} after a model id to route only to this group, e.g. custom:<model>#{handle}","copyGroupHandle": "Copy group handle","groupHandleCopied": "Copied {handle}",- "groupHandleCopyFailed": "Couldn't copy to the clipboard"+ "groupHandleCopyFailed": "Couldn't copy to the clipboard",+ "capUsagePercent": "{used} of {cap} ({pct}%)",+ "capWarning80": "Over 80% of this cap — the server logs a budget alert at this point.",+ "capExhaustedWarning": "Cap reached — new requests are rejected until the monthly reset."},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/ru.json b/client/src/i18n/locales/ru.jsonindex 6d0e57eb..787ee887 100644--- a/client/src/i18n/locales/ru.json+++ b/client/src/i18n/locales/ru.json@@ -727,7 +727,10 @@"groupHandleHint": "Add #{handle} after a model id to route only to this group, e.g. custom:<model>#{handle}","copyGroupHandle": "Copy group handle","groupHandleCopied": "Copied {handle}",- "groupHandleCopyFailed": "Couldn't copy to the clipboard"+ "groupHandleCopyFailed": "Couldn't copy to the clipboard",+ "capUsagePercent": "{used} of {cap} ({pct}%)",+ "capWarning80": "Over 80% of this cap — the server logs a budget alert at this point.",+ "capExhaustedWarning": "Cap reached — new requests are rejected until the monthly reset."},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/si.json b/client/src/i18n/locales/si.jsonindex c07f96ac..2a1c7429 100644--- a/client/src/i18n/locales/si.json+++ b/client/src/i18n/locales/si.json@@ -727,7 +727,10 @@"groupHandleHint": "Add #{handle} after a model id to route only to this group, e.g. custom:<model>#{handle}","copyGroupHandle": "Copy group handle","groupHandleCopied": "Copied {handle}",- "groupHandleCopyFailed": "Couldn't copy to the clipboard"+ "groupHandleCopyFailed": "Couldn't copy to the clipboard",+ "capUsagePercent": "{used} of {cap} ({pct}%)",+ "capWarning80": "Over 80% of this cap — the server logs a budget alert at this point.",+ "capExhaustedWarning": "Cap reached — new requests are rejected until the monthly reset."},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/sk.json b/client/src/i18n/locales/sk.jsonindex 7b80bb2a..fa3c4ac8 100644--- a/client/src/i18n/locales/sk.json+++ b/client/src/i18n/locales/sk.json@@ -727,7 +727,10 @@"groupHandleHint": "Add #{handle} after a model id to route only to this group, e.g. custom:<model>#{handle}","copyGroupHandle": "Copy group handle","groupHandleCopied": "Copied {handle}",- "groupHandleCopyFailed": "Couldn't copy to the clipboard"+ "groupHandleCopyFailed": "Couldn't copy to the clipboard",+ "capUsagePercent": "{used} of {cap} ({pct}%)",+ "capWarning80": "Over 80% of this cap — the server logs a budget alert at this point.",+ "capExhaustedWarning": "Cap reached — new requests are rejected until the monthly reset."},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/sr.json b/client/src/i18n/locales/sr.jsonindex 5fbe28f8..21e83556 100644--- a/client/src/i18n/locales/sr.json+++ b/client/src/i18n/locales/sr.json@@ -727,7 +727,10 @@"groupHandleHint": "Add #{handle} after a model id to route only to this group, e.g. custom:<model>#{handle}","copyGroupHandle": "Copy group handle","groupHandleCopied": "Copied {handle}",- "groupHandleCopyFailed": "Couldn't copy to the clipboard"+ "groupHandleCopyFailed": "Couldn't copy to the clipboard",+ "capUsagePercent": "{used} of {cap} ({pct}%)",+ "capWarning80": "Over 80% of this cap — the server logs a budget alert at this point.",+ "capExhaustedWarning": "Cap reached — new requests are rejected until the monthly reset."},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/sv.json b/client/src/i18n/locales/sv.jsonindex 0d302add..d49950b2 100644--- a/client/src/i18n/locales/sv.json+++ b/client/src/i18n/locales/sv.json@@ -727,7 +727,10 @@"groupHandleHint": "Add #{handle} after a model id to route only to this group, e.g. custom:<model>#{handle}","copyGroupHandle": "Copy group handle","groupHandleCopied": "Copied {handle}",- "groupHandleCopyFailed": "Couldn't copy to the clipboard"+ "groupHandleCopyFailed": "Couldn't copy to the clipboard",+ "capUsagePercent": "{used} of {cap} ({pct}%)",+ "capWarning80": "Over 80% of this cap — the server logs a budget alert at this point.",+ "capExhaustedWarning": "Cap reached — new requests are rejected until the monthly reset."},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/sw.json b/client/src/i18n/locales/sw.jsonindex c8cd3b0d..dc76c68a 100644--- a/client/src/i18n/locales/sw.json+++ b/client/src/i18n/locales/sw.json@@ -727,7 +727,10 @@"groupHandleHint": "Add #{handle} after a model id to route only to this group, e.g. custom:<model>#{handle}","copyGroupHandle": "Copy group handle","groupHandleCopied": "Copied {handle}",- "groupHandleCopyFailed": "Couldn't copy to the clipboard"+ "groupHandleCopyFailed": "Couldn't copy to the clipboard",+ "capUsagePercent": "{used} of {cap} ({pct}%)",+ "capWarning80": "Over 80% of this cap — the server logs a budget alert at this point.",+ "capExhaustedWarning": "Cap reached — new requests are rejected until the monthly reset."},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/ta.json b/client/src/i18n/locales/ta.jsonindex 13cd2ed4..fe848ed9 100644--- a/client/src/i18n/locales/ta.json+++ b/client/src/i18n/locales/ta.json@@ -727,7 +727,10 @@"groupHandleHint": "Add #{handle} after a model id to route only to this group, e.g. custom:<model>#{handle}","copyGroupHandle": "Copy group handle","groupHandleCopied": "Copied {handle}",- "groupHandleCopyFailed": "Couldn't copy to the clipboard"+ "groupHandleCopyFailed": "Couldn't copy to the clipboard",+ "capUsagePercent": "{used} of {cap} ({pct}%)",+ "capWarning80": "Over 80% of this cap — the server logs a budget alert at this point.",+ "capExhaustedWarning": "Cap reached — new requests are rejected until the monthly reset."},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/te.json b/client/src/i18n/locales/te.jsonindex 1cb76e13..87c89492 100644--- a/client/src/i18n/locales/te.json+++ b/client/src/i18n/locales/te.json@@ -727,7 +727,10 @@"groupHandleHint": "Add #{handle} after a model id to route only to this group, e.g. custom:<model>#{handle}","copyGroupHandle": "Copy group handle","groupHandleCopied": "Copied {handle}",- "groupHandleCopyFailed": "Couldn't copy to the clipboard"+ "groupHandleCopyFailed": "Couldn't copy to the clipboard",+ "capUsagePercent": "{used} of {cap} ({pct}%)",+ "capWarning80": "Over 80% of this cap — the server logs a budget alert at this point.",+ "capExhaustedWarning": "Cap reached — new requests are rejected until the monthly reset."},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/th.json b/client/src/i18n/locales/th.jsonindex d39664a5..b9628ea5 100644--- a/client/src/i18n/locales/th.json+++ b/client/src/i18n/locales/th.json@@ -727,7 +727,10 @@"groupHandleHint": "Add #{handle} after a model id to route only to this group, e.g. custom:<model>#{handle}","copyGroupHandle": "Copy group handle","groupHandleCopied": "Copied {handle}",- "groupHandleCopyFailed": "Couldn't copy to the clipboard"+ "groupHandleCopyFailed": "Couldn't copy to the clipboard",+ "capUsagePercent": "{used} of {cap} ({pct}%)",+ "capWarning80": "Over 80% of this cap — the server logs a budget alert at this point.",+ "capExhaustedWarning": "Cap reached — new requests are rejected until the monthly reset."},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/tl.json b/client/src/i18n/locales/tl.jsonindex 02b51417..d0af467d 100644--- a/client/src/i18n/locales/tl.json+++ b/client/src/i18n/locales/tl.json@@ -727,7 +727,10 @@"groupHandleHint": "Add #{handle} after a model id to route only to this group, e.g. custom:<model>#{handle}","copyGroupHandle": "Copy group handle","groupHandleCopied": "Copied {handle}",- "groupHandleCopyFailed": "Couldn't copy to the clipboard"+ "groupHandleCopyFailed": "Couldn't copy to the clipboard",+ "capUsagePercent": "{used} of {cap} ({pct}%)",+ "capWarning80": "Over 80% of this cap — the server logs a budget alert at this point.",+ "capExhaustedWarning": "Cap reached — new requests are rejected until the monthly reset."},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/tr.json b/client/src/i18n/locales/tr.jsonindex d44f4fe7..959bc82e 100644--- a/client/src/i18n/locales/tr.json+++ b/client/src/i18n/locales/tr.json@@ -727,7 +727,10 @@"groupHandleHint": "Add #{handle} after a model id to route only to this group, e.g. custom:<model>#{handle}","copyGroupHandle": "Copy group handle","groupHandleCopied": "Copied {handle}",- "groupHandleCopyFailed": "Couldn't copy to the clipboard"+ "groupHandleCopyFailed": "Couldn't copy to the clipboard",+ "capUsagePercent": "{used} of {cap} ({pct}%)",+ "capWarning80": "Over 80% of this cap — the server logs a budget alert at this point.",+ "capExhaustedWarning": "Cap reached — new requests are rejected until the monthly reset."},"backups": {"title": "Yedekler",diff --git a/client/src/i18n/locales/uk.json b/client/src/i18n/locales/uk.jsonindex 9df0d517..f016c74f 100644--- a/client/src/i18n/locales/uk.json+++ b/client/src/i18n/locales/uk.json@@ -727,7 +727,10 @@"groupHandleHint": "Add #{handle} after a model id to route only to this group, e.g. custom:<model>#{handle}","copyGroupHandle": "Copy group handle","groupHandleCopied": "Copied {handle}",- "groupHandleCopyFailed": "Couldn't copy to the clipboard"+ "groupHandleCopyFailed": "Couldn't copy to the clipboard",+ "capUsagePercent": "{used} of {cap} ({pct}%)",+ "capWarning80": "Over 80% of this cap — the server logs a budget alert at this point.",+ "capExhaustedWarning": "Cap reached — new requests are rejected until the monthly reset."},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/ur.json b/client/src/i18n/locales/ur.jsonindex 0d57513c..6a8cdd67 100644--- a/client/src/i18n/locales/ur.json+++ b/client/src/i18n/locales/ur.json@@ -727,7 +727,10 @@"groupHandleHint": "Add #{handle} after a model id to route only to this group, e.g. custom:<model>#{handle}","copyGroupHandle": "Copy group handle","groupHandleCopied": "Copied {handle}",- "groupHandleCopyFailed": "Couldn't copy to the clipboard"+ "groupHandleCopyFailed": "Couldn't copy to the clipboard",+ "capUsagePercent": "{used} of {cap} ({pct}%)",+ "capWarning80": "Over 80% of this cap — the server logs a budget alert at this point.",+ "capExhaustedWarning": "Cap reached — new requests are rejected until the monthly reset."},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/uz.json b/client/src/i18n/locales/uz.jsonindex 2ff3ad3e..022e139c 100644--- a/client/src/i18n/locales/uz.json+++ b/client/src/i18n/locales/uz.json@@ -727,7 +727,10 @@"groupHandleHint": "Add #{handle} after a model id to route only to this group, e.g. custom:<model>#{handle}","copyGroupHandle": "Copy group handle","groupHandleCopied": "Copied {handle}",- "groupHandleCopyFailed": "Couldn't copy to the clipboard"+ "groupHandleCopyFailed": "Couldn't copy to the clipboard",+ "capUsagePercent": "{used} of {cap} ({pct}%)",+ "capWarning80": "Over 80% of this cap — the server logs a budget alert at this point.",+ "capExhaustedWarning": "Cap reached — new requests are rejected until the monthly reset."},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/vi.json b/client/src/i18n/locales/vi.jsonindex 8968cbf6..ea7e3e3c 100644--- a/client/src/i18n/locales/vi.json+++ b/client/src/i18n/locales/vi.json@@ -727,7 +727,10 @@"groupHandleHint": "Add #{handle} after a model id to route only to this group, e.g. custom:<model>#{handle}","copyGroupHandle": "Copy group handle","groupHandleCopied": "Copied {handle}",- "groupHandleCopyFailed": "Couldn't copy to the clipboard"+ "groupHandleCopyFailed": "Couldn't copy to the clipboard",+ "capUsagePercent": "{used} of {cap} ({pct}%)",+ "capWarning80": "Over 80% of this cap — the server logs a budget alert at this point.",+ "capExhaustedWarning": "Cap reached — new requests are rejected until the monthly reset."},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/yo.json b/client/src/i18n/locales/yo.jsonindex 4ed6ba56..f119b9c9 100644--- a/client/src/i18n/locales/yo.json+++ b/client/src/i18n/locales/yo.json@@ -727,7 +727,10 @@"groupHandleHint": "Add #{handle} after a model id to route only to this group, e.g. custom:<model>#{handle}","copyGroupHandle": "Copy group handle","groupHandleCopied": "Copied {handle}",- "groupHandleCopyFailed": "Couldn't copy to the clipboard"+ "groupHandleCopyFailed": "Couldn't copy to the clipboard",+ "capUsagePercent": "{used} of {cap} ({pct}%)",+ "capWarning80": "Over 80% of this cap — the server logs a budget alert at this point.",+ "capExhaustedWarning": "Cap reached — new requests are rejected until the monthly reset."},"backups": {"title": "Backups",diff --git a/client/src/i18n/locales/zh-CN.json b/client/src/i18n/locales/zh-CN.jsonindex e0690afa..cebf5eb5 100644--- a/client/src/i18n/locales/zh-CN.json+++ b/client/src/i18n/locales/zh-CN.json@@ -727,7 +727,10 @@"groupHandleHint": "在模型 id 后加 #{handle} 可只路由到该分组,例如 custom:<model>#{handle}","copyGroupHandle": "复制分组标识","groupHandleCopied": "已复制 {handle}",- "groupHandleCopyFailed": "无法复制到剪贴板"+ "groupHandleCopyFailed": "无法复制到剪贴板",+ "capUsagePercent": "{used} of {cap} ({pct}%)",+ "capWarning80": "Over 80% of this cap — the server logs a budget alert at this point.",+ "capExhaustedWarning": "Cap reached — new requests are rejected until the monthly reset."},"backups": {"title": "备份",diff --git a/client/src/i18n/locales/zh-TW.json b/client/src/i18n/locales/zh-TW.jsonindex f9ee5f2b..5eb5b1f7 100644--- a/client/src/i18n/locales/zh-TW.json+++ b/client/src/i18n/locales/zh-TW.json@@ -727,7 +727,10 @@"groupHandleHint": "Add #{handle} after a model id to route only to this group, e.g. custom:<model>#{handle}","copyGroupHandle": "Copy group handle","groupHandleCopied": "Copied {handle}",- "groupHandleCopyFailed": "Couldn't copy to the clipboard"+ "groupHandleCopyFailed": "Couldn't copy to the clipboard",+ "capUsagePercent": "{used} of {cap} ({pct}%)",+ "capWarning80": "Over 80% of this cap — the server logs a budget alert at this point.",+ "capExhaustedWarning": "Cap reached — new requests are rejected until the monthly reset."},"backups": {"title": "Backups",