Skip to content

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

fix(quota): preserve reliable readings and explain forecast coverage (#1227)

Tashfeen546b1e0bb44c
diff --git a/client/src/components/keys/quota-outlook-section.tsx b/client/src/components/keys/quota-outlook-section.tsx
index e883746f..3616c87d 100644
--- a/client/src/components/keys/quota-outlook-section.tsx
+++ b/client/src/components/keys/quota-outlook-section.tsx
@@ -8,21 +8,24 @@ import { Badge } from '@/components/ui/badge'
import { Button } from '@/components/ui/button'
import { PLATFORMS } from './shared'
-function OutlookPool({ pool, generatedAt }: { pool: QuotaOutlookPool; generatedAt: string }) {
+function OutlookPool({ pool, generatedAt, windowMinutes, minimumRequests }: {
+ pool: QuotaOutlookPool; generatedAt: string; windowMinutes: number; minimumRequests: number
+}) {
const { t, locale } = useI18n()
const number = (value: number) => new Intl.NumberFormat(locale).format(value)
const unknown = t('keys.outlookInsufficient')
const status = pool.warning === 'low_balance' ? t('keys.outlookLowBalance')
: pool.warning === 'exhausting_soon' ? t('keys.outlookRunningLow')
: pool.status === 'stale' ? t('keys.outlookStale')
- : pool.status === 'unknown' ? t('keys.outlookUnknown')
+ : pool.status === 'unknown' || pool.status === 'unavailable' ? t('keys.outlookUnavailable')
: pool.status === 'insufficient_data' ? unknown : t('keys.outlookWithinQuota')
const exhaustion = pool.estimatedExhaustionAt
? new Intl.RelativeTimeFormat(locale, { numeric: 'always' }).format(
Math.max(1, Math.ceil((Date.parse(pool.estimatedExhaustionAt) - Date.parse(generatedAt)) / 60_000)), 'minute')
: pool.status === 'resets_first' ? t('keys.outlookResetsFirst')
- : pool.status === 'exhausted' ? t('keys.outlookExhausted') : unknown
- const reportedOnly = pool.status === 'stale' || pool.status === 'unknown'
+ : pool.status === 'exhausted' ? t('keys.outlookExhausted')
+ : pool.unavailableReason ? t('keys.outlookUnavailable') : unknown
+ const reportedOnly = pool.unavailableReason != null
const name = PLATFORMS.find(platform => platform.value === pool.platform)?.label ?? pool.platform
return (
<article aria-label={name} className={cn('p-4 sm:p-5', pool.warning && 'bg-amber-500/5')}>
@@ -45,11 +48,20 @@ function OutlookPool({ pool, generatedAt }: { pool: QuotaOutlookPool; generatedA
) : <p className="my-3 text-sm text-muted-foreground">{pool.remaining != null
? `${number(pool.remaining)} ${t('keys.outlookLastReported')}` : t('keys.outlookNotReported')}</p>}
<dl className="grid gap-3 text-xs sm:grid-cols-3">
- <div><dt className="text-muted-foreground">{t('keys.outlookRate')}</dt><dd className="mt-1">{pool.ratePerMin == null ? unknown : t('keys.outlookRateValue', { count: number(pool.ratePerMin) })}</dd></div>
+ <div><dt className="text-muted-foreground">{t('keys.outlookRate')}</dt><dd className="mt-1">{t('keys.outlookRateValue', { count: number(pool.ratePerMin) })}</dd></div>
<div><dt className="text-muted-foreground">{t('keys.outlookRunsOut')}</dt><dd className={cn('mt-1', pool.warning && 'text-amber-700 dark:text-amber-300')}>{exhaustion}</dd></div>
<div><dt className="text-muted-foreground">{t('keys.quotaReset')}</dt><dd className="mt-1">{pool.resetAt ? new Date(pool.resetAt).toLocaleString(locale) : t('keys.outlookNotReported')}</dd></div>
</dl>
- {pool.status === 'stale' && <p className="mt-3 text-xs text-muted-foreground">{t('keys.outlookStaleHint')}</p>}
+ <p className="mt-3 text-xs text-muted-foreground">{t('keys.outlookTraffic', { count:number(pool.recentRequestCount),minutes:windowMinutes })}</p>
+ {pool.recentRequestCount < minimumRequests && <p className="mt-1 text-xs text-muted-foreground">{t('keys.outlookMinimumTraffic', { count:minimumRequests,minutes:windowMinutes })}</p>}
+ {pool.unavailableReason && <p className="mt-2 text-xs text-muted-foreground">{t(
+ pool.unavailableReason === 'quota_not_reported' ? 'keys.outlookNotReportedHint'
+ : pool.unavailableReason === 'reset_not_reported' ? 'keys.outlookMissingResetHint'
+ : pool.unavailableReason === 'low_confidence' ? 'keys.outlookConfidenceHint' : 'keys.outlookStaleHint')}
+ </p>}
+ {reportedOnly && pool.observedAt && pool.remaining != null && <p className="mt-1 text-xs text-muted-foreground">{t('keys.outlookObserved', {
+ time:new Date(pool.observedAt.includes('T') ? pool.observedAt : pool.observedAt.replace(' ', 'T') + 'Z').toLocaleString(locale),
+ })}</p>}
</article>
)
}
@@ -62,6 +74,11 @@ export function QuotaOutlookSection() {
refetchInterval: 30_000,
})
const warnings = data?.pools.filter(pool => pool.warning).length ?? 0
+ const available = data?.pools.filter(pool => !pool.unavailableReason) ?? []
+ const unavailable = data?.pools.filter(pool => pool.unavailableReason) ?? []
+ const forecasts = available.filter(pool => pool.status !== 'insufficient_data').length
+ const renderPool = (pool: QuotaOutlookPool) => <OutlookPool key={pool.pool} pool={pool} generatedAt={data!.generatedAt}
+ windowMinutes={data!.observationWindowMinutes} minimumRequests={data!.minimumRequests} />
return (
<section aria-label={t('keys.outlookTitle')}>
<h2 className="text-sm font-medium">{t('keys.outlookTitle')}</h2>
@@ -69,10 +86,14 @@ export function QuotaOutlookSection() {
: isError ? <div className="mt-3 flex flex-wrap items-center gap-3"><p role="alert" className="text-sm text-muted-foreground">{t('keys.outlookError')}</p><Button size="sm" variant="outline" onClick={() => void refetch()}>{t('keys.outlookRetry')}</Button></div>
: !data?.pools.length ? <p className="mt-3 text-sm text-muted-foreground">{t('keys.quotaSignalsEmptyDesc')}</p>
: <>
- <p className="mb-4 mt-1 text-xs text-muted-foreground">{warnings > 0 ? t('keys.outlookAttention', { count: warnings }) : t('keys.outlookNoWarnings')}</p>
- <div className="divide-y overflow-hidden rounded-3xl border bg-card">
- {data.pools.map(pool => <OutlookPool key={pool.pool} pool={pool} generatedAt={data.generatedAt} />)}
- </div>
+ <p className="mb-4 mt-1 text-xs text-muted-foreground">{warnings > 0 ? t('keys.outlookAttention', { count: warnings }) : forecasts ? t('keys.outlookNoWarnings') : t('keys.outlookNoForecasts')}</p>
+ <p className="mb-3 text-xs text-muted-foreground">{t('keys.outlookCoverage', { count:forecasts,total:data.pools.length })}{' '}
+ {t('keys.outlookTraffic', { count:data.pools.reduce((sum,pool)=>sum+pool.recentRequestCount,0),minutes:data.observationWindowMinutes })}</p>
+ {available.length > 0 && <div className="divide-y overflow-hidden rounded-3xl border bg-card">{available.map(renderPool)}</div>}
+ {unavailable.length > 0 && <details className="mt-3 overflow-hidden rounded-3xl border bg-card">
+ <summary className="cursor-pointer px-4 py-3 text-sm sm:px-5">{t('keys.outlookUnavailablePools', { count:unavailable.length })}</summary>
+ <div className="divide-y border-t">{unavailable.map(renderPool)}</div>
+ </details>}
</>}
<p className="mt-3 text-xs text-muted-foreground">{t('keys.outlookHint')}</p>
</section>
diff --git a/client/src/components/keys/quota-signals-section.test.tsx b/client/src/components/keys/quota-signals-section.test.tsx
index 78d16377..0f7b3d28 100644
--- a/client/src/components/keys/quota-signals-section.test.tsx
+++ b/client/src/components/keys/quota-signals-section.test.tsx
@@ -23,11 +23,11 @@ let raw: ProviderQuotaState[]
const pool = (overrides: Partial<QuotaOutlookPool> = {}): QuotaOutlookPool => ({
platform:'groq',pool:'groq::account',limit:250,remaining:35,remainingPct:14,
observedAt:'2026-09-14 19:59:00',resetAt:'2026-09-15T00:00:00Z',ratePerMin:.7,
- estimatedExhaustionAt:'2026-09-14T20:50:00Z',status:'forecast',warning:'low_balance',...overrides,
+ recentRequestCount:7,unavailableReason:null,estimatedExhaustionAt:'2026-09-14T20:50:00Z',status:'forecast',warning:'low_balance',...overrides,
})
beforeAll(() => { (globalThis as unknown as {IS_REACT_ACT_ENVIRONMENT:boolean}).IS_REACT_ACT_ENVIRONMENT=true })
beforeEach(() => {
- response={generatedAt:'2026-09-14T20:00:00Z',pools:[pool()]}
+ response={generatedAt:'2026-09-14T20:00:00Z',observationWindowMinutes:10,minimumRequests:3,pools:[pool()]}
raw=Array.from({length:25},(_,i)=>({platform:'groq',keyId:i+1,keyLabel:'Saved key '+(i+1),quotaPoolKey:'groq::account',metric:i===24?'tokens':'requests',limit:250,remaining:35,resetAt:null,resetStrategy:'unknown',source:'header',confidence:1,notes:null,observedAt:'2026-09-14 19:59:00',updatedAt:'2026-09-14 19:59:00'}))
vi.mocked(apiFetch).mockReset().mockImplementation(async path=>path==='/api/keys'?[]:path==='/api/health'?{quotaStates:raw}:response)
client=new QueryClient({defaultOptions:{queries:{retry:false,gcTime:0}}})
@@ -58,17 +58,17 @@ it('loads forecasts only when the existing Quota signals tab opens and retains e
it('shows the reset-first, soon-to-run-out and unknown states without inventing forecasts',async()=>{
response.pools=[pool({platform:'openrouter',pool:'openrouter::free',remaining:75,remainingPct:30,warning:'exhausting_soon'}),
pool({platform:'cerebras',pool:'cerebras::shared',status:'resets_first',warning:null,estimatedExhaustionAt:null}),
- pool({platform:'aihorde',pool:'aihorde::anonymous',status:'unknown',warning:null,remaining:null,remainingPct:null,limit:null,ratePerMin:null,estimatedExhaustionAt:null,resetAt:null})]
+ pool({platform:'aihorde',pool:'aihorde::anonymous',status:'unknown',unavailableReason:'quota_not_reported',warning:null,remaining:null,remainingPct:null,limit:null,ratePerMin:0,estimatedExhaustionAt:null,resetAt:null})]
await mount();await openQuota()
expect(container.textContent).toContain('Running low soon')
expect(container.textContent).toContain('Not before reset')
const unknown=container.querySelector('article[aria-label="AI Horde (no key needed, slow)"]')!
- expect(unknown.textContent).toContain('Unknown')
- expect(unknown.textContent).toContain('Not enough data')
+ expect(unknown.textContent).toContain('Unavailable')
+ expect(unknown.textContent).toContain('Local usage is shown')
expect(unknown.querySelector('[role="progressbar"]')).toBeNull()
})
it('labels stale balances as last reported and exhausted windows explicitly',async()=>{
- response.pools=[pool({status:'stale',warning:null,ratePerMin:null,estimatedExhaustionAt:null}),
+ response.pools=[pool({status:'stale',unavailableReason:'stale_observation',warning:null,ratePerMin:0,estimatedExhaustionAt:null}),
pool({platform:'cerebras',pool:'cerebras::shared',remaining:0,remainingPct:0,status:'exhausted',estimatedExhaustionAt:null})]
await mount();await openQuota()
expect(container.textContent).toContain('Needs fresh data')
@@ -95,3 +95,30 @@ it('shows an empty forecast without hiding the raw token observations',async()=>
expect(container.querySelectorAll('article')).toHaveLength(0)
expect(container.querySelector('details')?.textContent).toContain('Saved key 25')
})
+
+it('shows coverage and local usage even when all provider quotas are unavailable',async()=>{
+ response.pools=[pool({platform:'kilo',pool:'kilo::anonymous',status:'unknown',unavailableReason:'quota_not_reported',
+ warning:null,limit:null,remaining:null,remainingPct:null,resetAt:null,estimatedExhaustionAt:null,recentRequestCount:2,ratePerMin:.2})]
+ await mount();await openQuota()
+ expect(container.textContent).toContain('Forecast unavailable')
+ expect(container.textContent).not.toContain('No forecast warnings')
+ expect(container.textContent).toContain('Forecasts available for 0 of 1 pools')
+ expect(container.textContent).toContain('2 successful requests through this instance in the last 10 minutes')
+ expect(container.textContent).toContain('at least 3 successful requests within 10 minutes')
+ expect(container.textContent).toContain('0.2 req/min')
+ const unavailable=[...container.querySelectorAll('details')].find(el=>el.querySelector('summary')?.textContent==='Unavailable quota pools (1)')!
+ expect(unavailable.open).toBe(false)
+ act(()=>unavailable.querySelector('summary')!.click());await flush()
+ expect(unavailable.open).toBe(true)
+ expect([...container.querySelectorAll('details')].find(el=>el.querySelector('summary')?.textContent==='Raw quota observations')?.textContent).toContain('Saved key 25')
+})
+it('explains missing resets independently of low traffic and shows usable pools before unavailable ones',async()=>{
+ response.pools=[pool({platform:'cerebras',pool:'cerebras::shared',status:'unavailable',unavailableReason:'reset_not_reported',
+ warning:null,resetAt:null,estimatedExhaustionAt:null,recentRequestCount:10,ratePerMin:1}),pool()]
+ await mount();await openQuota()
+ expect(container.querySelector('article')?.getAttribute('aria-label')).toBe('Groq')
+ expect(container.textContent).toContain('Forecasts available for 1 of 2 pools')
+ const cerebras=container.querySelector('article[aria-label="Cerebras"]')!
+ expect(cerebras.textContent).toContain('did not report a valid reset time')
+ expect(cerebras.textContent).not.toContain('at least 3')
+})
diff --git a/client/src/i18n/locales/am.json b/client/src/i18n/locales/am.json
index c0148be7..e5682d0f 100644
--- a/client/src/i18n/locales/am.json
+++ b/client/src/i18n/locales/am.json
@@ -625,6 +625,16 @@
"editModelsSync": "Check catalog updates",
"editModelsSyncing": "Checking…",
"editModelsSynced": "Model catalog checked",
+ "outlookUnavailable": "Unavailable",
+ "outlookNoForecasts": "Forecast unavailable. More recent traffic or reliable quota readings are needed.",
+ "outlookCoverage": "Forecasts available for {count} of {total} pools.",
+ "outlookTraffic": "{count} successful requests through this instance in the last {minutes} minutes.",
+ "outlookMinimumTraffic": "An exhaustion forecast needs at least {count} successful requests within {minutes} minutes.",
+ "outlookNotReportedHint": "The provider has not reported a usable request balance and limit. Local usage is shown; remaining quota is unavailable.",
+ "outlookMissingResetHint": "The provider did not report a valid reset time. Remaining quota cannot support an exhaustion forecast.",
+ "outlookConfidenceHint": "This balance is not reliable enough for an exhaustion forecast.",
+ "outlookObserved": "Balance observed: {time}",
+ "outlookUnavailablePools": "Unavailable quota pools ({count})",
"outlookTitle": "Quota outlook",
"outlookInsufficient": "Not enough data",
"outlookLowBalance": "Low balance",
@@ -640,12 +650,12 @@
"outlookRate": "Recent rate",
"outlookRateValue": "{count} req/min",
"outlookRunsOut": "May run out",
- "outlookStaleHint": "Last reported balance only. A recent observation with a known future reset is needed for a forecast.",
+ "outlookStaleHint": "This balance is old or its window has expired. A fresh provider reading is needed.",
"outlookError": "Could not load quota forecasts. Raw observations are still available below.",
"outlookRetry": "Retry",
"outlookAttention": "Quota pools needing attention: {count}",
"outlookNoWarnings": "No forecast warnings. Pools with insufficient data may still be limited.",
- "outlookHint": "Estimates use recent request traffic and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset. Unknown data stays unknown.",
+ "outlookHint": "Rates count successful requests through this instance only, not usage elsewhere. Forecasts require recent provider balances and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset.",
"outlookRaw": "Raw quota observations"
},
"backups": {
diff --git a/client/src/i18n/locales/ar.json b/client/src/i18n/locales/ar.json
index f78ebbf1..de69c288 100644
--- a/client/src/i18n/locales/ar.json
+++ b/client/src/i18n/locales/ar.json
@@ -625,6 +625,16 @@
"editModelsSync": "Check catalog updates",
"editModelsSyncing": "Checking…",
"editModelsSynced": "Model catalog checked",
+ "outlookUnavailable": "Unavailable",
+ "outlookNoForecasts": "Forecast unavailable. More recent traffic or reliable quota readings are needed.",
+ "outlookCoverage": "Forecasts available for {count} of {total} pools.",
+ "outlookTraffic": "{count} successful requests through this instance in the last {minutes} minutes.",
+ "outlookMinimumTraffic": "An exhaustion forecast needs at least {count} successful requests within {minutes} minutes.",
+ "outlookNotReportedHint": "The provider has not reported a usable request balance and limit. Local usage is shown; remaining quota is unavailable.",
+ "outlookMissingResetHint": "The provider did not report a valid reset time. Remaining quota cannot support an exhaustion forecast.",
+ "outlookConfidenceHint": "This balance is not reliable enough for an exhaustion forecast.",
+ "outlookObserved": "Balance observed: {time}",
+ "outlookUnavailablePools": "Unavailable quota pools ({count})",
"outlookTitle": "Quota outlook",
"outlookInsufficient": "Not enough data",
"outlookLowBalance": "Low balance",
@@ -640,12 +650,12 @@
"outlookRate": "Recent rate",
"outlookRateValue": "{count} req/min",
"outlookRunsOut": "May run out",
- "outlookStaleHint": "Last reported balance only. A recent observation with a known future reset is needed for a forecast.",
+ "outlookStaleHint": "This balance is old or its window has expired. A fresh provider reading is needed.",
"outlookError": "Could not load quota forecasts. Raw observations are still available below.",
"outlookRetry": "Retry",
"outlookAttention": "Quota pools needing attention: {count}",
"outlookNoWarnings": "No forecast warnings. Pools with insufficient data may still be limited.",
- "outlookHint": "Estimates use recent request traffic and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset. Unknown data stays unknown.",
+ "outlookHint": "Rates count successful requests through this instance only, not usage elsewhere. Forecasts require recent provider balances and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset.",
"outlookRaw": "Raw quota observations"
},
"backups": {
diff --git a/client/src/i18n/locales/az.json b/client/src/i18n/locales/az.json
index 4c5354e1..569db701 100644
--- a/client/src/i18n/locales/az.json
+++ b/client/src/i18n/locales/az.json
@@ -625,6 +625,16 @@
"editModelsSync": "Check catalog updates",
"editModelsSyncing": "Checking…",
"editModelsSynced": "Model catalog checked",
+ "outlookUnavailable": "Unavailable",
+ "outlookNoForecasts": "Forecast unavailable. More recent traffic or reliable quota readings are needed.",
+ "outlookCoverage": "Forecasts available for {count} of {total} pools.",
+ "outlookTraffic": "{count} successful requests through this instance in the last {minutes} minutes.",
+ "outlookMinimumTraffic": "An exhaustion forecast needs at least {count} successful requests within {minutes} minutes.",
+ "outlookNotReportedHint": "The provider has not reported a usable request balance and limit. Local usage is shown; remaining quota is unavailable.",
+ "outlookMissingResetHint": "The provider did not report a valid reset time. Remaining quota cannot support an exhaustion forecast.",
+ "outlookConfidenceHint": "This balance is not reliable enough for an exhaustion forecast.",
+ "outlookObserved": "Balance observed: {time}",
+ "outlookUnavailablePools": "Unavailable quota pools ({count})",
"outlookTitle": "Quota outlook",
"outlookInsufficient": "Not enough data",
"outlookLowBalance": "Low balance",
@@ -640,12 +650,12 @@
"outlookRate": "Recent rate",
"outlookRateValue": "{count} req/min",
"outlookRunsOut": "May run out",
- "outlookStaleHint": "Last reported balance only. A recent observation with a known future reset is needed for a forecast.",
+ "outlookStaleHint": "This balance is old or its window has expired. A fresh provider reading is needed.",
"outlookError": "Could not load quota forecasts. Raw observations are still available below.",
"outlookRetry": "Retry",
"outlookAttention": "Quota pools needing attention: {count}",
"outlookNoWarnings": "No forecast warnings. Pools with insufficient data may still be limited.",
- "outlookHint": "Estimates use recent request traffic and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset. Unknown data stays unknown.",
+ "outlookHint": "Rates count successful requests through this instance only, not usage elsewhere. Forecasts require recent provider balances and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset.",
"outlookRaw": "Raw quota observations"
},
"backups": {
diff --git a/client/src/i18n/locales/bg.json b/client/src/i18n/locales/bg.json
index 22067f8a..6fb289c4 100644
--- a/client/src/i18n/locales/bg.json
+++ b/client/src/i18n/locales/bg.json
@@ -625,6 +625,16 @@
"editModelsSync": "Check catalog updates",
"editModelsSyncing": "Checking…",
"editModelsSynced": "Model catalog checked",
+ "outlookUnavailable": "Unavailable",
+ "outlookNoForecasts": "Forecast unavailable. More recent traffic or reliable quota readings are needed.",
+ "outlookCoverage": "Forecasts available for {count} of {total} pools.",
+ "outlookTraffic": "{count} successful requests through this instance in the last {minutes} minutes.",
+ "outlookMinimumTraffic": "An exhaustion forecast needs at least {count} successful requests within {minutes} minutes.",
+ "outlookNotReportedHint": "The provider has not reported a usable request balance and limit. Local usage is shown; remaining quota is unavailable.",
+ "outlookMissingResetHint": "The provider did not report a valid reset time. Remaining quota cannot support an exhaustion forecast.",
+ "outlookConfidenceHint": "This balance is not reliable enough for an exhaustion forecast.",
+ "outlookObserved": "Balance observed: {time}",
+ "outlookUnavailablePools": "Unavailable quota pools ({count})",
"outlookTitle": "Quota outlook",
"outlookInsufficient": "Not enough data",
"outlookLowBalance": "Low balance",
@@ -640,12 +650,12 @@
"outlookRate": "Recent rate",
"outlookRateValue": "{count} req/min",
"outlookRunsOut": "May run out",
- "outlookStaleHint": "Last reported balance only. A recent observation with a known future reset is needed for a forecast.",
+ "outlookStaleHint": "This balance is old or its window has expired. A fresh provider reading is needed.",
"outlookError": "Could not load quota forecasts. Raw observations are still available below.",
"outlookRetry": "Retry",
"outlookAttention": "Quota pools needing attention: {count}",
"outlookNoWarnings": "No forecast warnings. Pools with insufficient data may still be limited.",
- "outlookHint": "Estimates use recent request traffic and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset. Unknown data stays unknown.",
+ "outlookHint": "Rates count successful requests through this instance only, not usage elsewhere. Forecasts require recent provider balances and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset.",
"outlookRaw": "Raw quota observations"
},
"backups": {
diff --git a/client/src/i18n/locales/bn.json b/client/src/i18n/locales/bn.json
index c0ed50d6..c3ccc17a 100644
--- a/client/src/i18n/locales/bn.json
+++ b/client/src/i18n/locales/bn.json
@@ -625,6 +625,16 @@
"editModelsSync": "Check catalog updates",
"editModelsSyncing": "Checking…",
"editModelsSynced": "Model catalog checked",
+ "outlookUnavailable": "Unavailable",
+ "outlookNoForecasts": "Forecast unavailable. More recent traffic or reliable quota readings are needed.",
+ "outlookCoverage": "Forecasts available for {count} of {total} pools.",
+ "outlookTraffic": "{count} successful requests through this instance in the last {minutes} minutes.",
+ "outlookMinimumTraffic": "An exhaustion forecast needs at least {count} successful requests within {minutes} minutes.",
+ "outlookNotReportedHint": "The provider has not reported a usable request balance and limit. Local usage is shown; remaining quota is unavailable.",
+ "outlookMissingResetHint": "The provider did not report a valid reset time. Remaining quota cannot support an exhaustion forecast.",
+ "outlookConfidenceHint": "This balance is not reliable enough for an exhaustion forecast.",
+ "outlookObserved": "Balance observed: {time}",
+ "outlookUnavailablePools": "Unavailable quota pools ({count})",
"outlookTitle": "Quota outlook",
"outlookInsufficient": "Not enough data",
"outlookLowBalance": "Low balance",
@@ -640,12 +650,12 @@
"outlookRate": "Recent rate",
"outlookRateValue": "{count} req/min",
"outlookRunsOut": "May run out",
- "outlookStaleHint": "Last reported balance only. A recent observation with a known future reset is needed for a forecast.",
+ "outlookStaleHint": "This balance is old or its window has expired. A fresh provider reading is needed.",
"outlookError": "Could not load quota forecasts. Raw observations are still available below.",
"outlookRetry": "Retry",
"outlookAttention": "Quota pools needing attention: {count}",
"outlookNoWarnings": "No forecast warnings. Pools with insufficient data may still be limited.",
- "outlookHint": "Estimates use recent request traffic and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset. Unknown data stays unknown.",
+ "outlookHint": "Rates count successful requests through this instance only, not usage elsewhere. Forecasts require recent provider balances and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset.",
"outlookRaw": "Raw quota observations"
},
"backups": {
diff --git a/client/src/i18n/locales/cs.json b/client/src/i18n/locales/cs.json
index 9e390385..035d9106 100644
--- a/client/src/i18n/locales/cs.json
+++ b/client/src/i18n/locales/cs.json
@@ -625,6 +625,16 @@
"editModelsSync": "Check catalog updates",
"editModelsSyncing": "Checking…",
"editModelsSynced": "Model catalog checked",
+ "outlookUnavailable": "Unavailable",
+ "outlookNoForecasts": "Forecast unavailable. More recent traffic or reliable quota readings are needed.",
+ "outlookCoverage": "Forecasts available for {count} of {total} pools.",
+ "outlookTraffic": "{count} successful requests through this instance in the last {minutes} minutes.",
+ "outlookMinimumTraffic": "An exhaustion forecast needs at least {count} successful requests within {minutes} minutes.",
+ "outlookNotReportedHint": "The provider has not reported a usable request balance and limit. Local usage is shown; remaining quota is unavailable.",
+ "outlookMissingResetHint": "The provider did not report a valid reset time. Remaining quota cannot support an exhaustion forecast.",
+ "outlookConfidenceHint": "This balance is not reliable enough for an exhaustion forecast.",
+ "outlookObserved": "Balance observed: {time}",
+ "outlookUnavailablePools": "Unavailable quota pools ({count})",
"outlookTitle": "Quota outlook",
"outlookInsufficient": "Not enough data",
"outlookLowBalance": "Low balance",
@@ -640,12 +650,12 @@
"outlookRate": "Recent rate",
"outlookRateValue": "{count} req/min",
"outlookRunsOut": "May run out",
- "outlookStaleHint": "Last reported balance only. A recent observation with a known future reset is needed for a forecast.",
+ "outlookStaleHint": "This balance is old or its window has expired. A fresh provider reading is needed.",
"outlookError": "Could not load quota forecasts. Raw observations are still available below.",
"outlookRetry": "Retry",
"outlookAttention": "Quota pools needing attention: {count}",
"outlookNoWarnings": "No forecast warnings. Pools with insufficient data may still be limited.",
- "outlookHint": "Estimates use recent request traffic and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset. Unknown data stays unknown.",
+ "outlookHint": "Rates count successful requests through this instance only, not usage elsewhere. Forecasts require recent provider balances and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset.",
"outlookRaw": "Raw quota observations"
},
"backups": {
diff --git a/client/src/i18n/locales/da.json b/client/src/i18n/locales/da.json
index 742f2941..7e0eae8c 100644
--- a/client/src/i18n/locales/da.json
+++ b/client/src/i18n/locales/da.json
@@ -625,6 +625,16 @@
"editModelsSync": "Check catalog updates",
"editModelsSyncing": "Checking…",
"editModelsSynced": "Model catalog checked",
+ "outlookUnavailable": "Unavailable",
+ "outlookNoForecasts": "Forecast unavailable. More recent traffic or reliable quota readings are needed.",
+ "outlookCoverage": "Forecasts available for {count} of {total} pools.",
+ "outlookTraffic": "{count} successful requests through this instance in the last {minutes} minutes.",
+ "outlookMinimumTraffic": "An exhaustion forecast needs at least {count} successful requests within {minutes} minutes.",
+ "outlookNotReportedHint": "The provider has not reported a usable request balance and limit. Local usage is shown; remaining quota is unavailable.",
+ "outlookMissingResetHint": "The provider did not report a valid reset time. Remaining quota cannot support an exhaustion forecast.",
+ "outlookConfidenceHint": "This balance is not reliable enough for an exhaustion forecast.",
+ "outlookObserved": "Balance observed: {time}",
+ "outlookUnavailablePools": "Unavailable quota pools ({count})",
"outlookTitle": "Quota outlook",
"outlookInsufficient": "Not enough data",
"outlookLowBalance": "Low balance",
@@ -640,12 +650,12 @@
"outlookRate": "Recent rate",
"outlookRateValue": "{count} req/min",
"outlookRunsOut": "May run out",
- "outlookStaleHint": "Last reported balance only. A recent observation with a known future reset is needed for a forecast.",
+ "outlookStaleHint": "This balance is old or its window has expired. A fresh provider reading is needed.",
"outlookError": "Could not load quota forecasts. Raw observations are still available below.",
"outlookRetry": "Retry",
"outlookAttention": "Quota pools needing attention: {count}",
"outlookNoWarnings": "No forecast warnings. Pools with insufficient data may still be limited.",
- "outlookHint": "Estimates use recent request traffic and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset. Unknown data stays unknown.",
+ "outlookHint": "Rates count successful requests through this instance only, not usage elsewhere. Forecasts require recent provider balances and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset.",
"outlookRaw": "Raw quota observations"
},
"backups": {
diff --git a/client/src/i18n/locales/de.json b/client/src/i18n/locales/de.json
index 9d0a4b44..9c147c94 100644
--- a/client/src/i18n/locales/de.json
+++ b/client/src/i18n/locales/de.json
@@ -625,6 +625,16 @@
"editModelsSync": "Katalogaktualisierungen prüfen",
"editModelsSyncing": "Prüfen…",
"editModelsSynced": "Modellkatalog geprüft",
+ "outlookUnavailable": "Unavailable",
+ "outlookNoForecasts": "Forecast unavailable. More recent traffic or reliable quota readings are needed.",
+ "outlookCoverage": "Forecasts available for {count} of {total} pools.",
+ "outlookTraffic": "{count} successful requests through this instance in the last {minutes} minutes.",
+ "outlookMinimumTraffic": "An exhaustion forecast needs at least {count} successful requests within {minutes} minutes.",
+ "outlookNotReportedHint": "The provider has not reported a usable request balance and limit. Local usage is shown; remaining quota is unavailable.",
+ "outlookMissingResetHint": "The provider did not report a valid reset time. Remaining quota cannot support an exhaustion forecast.",
+ "outlookConfidenceHint": "This balance is not reliable enough for an exhaustion forecast.",
+ "outlookObserved": "Balance observed: {time}",
+ "outlookUnavailablePools": "Unavailable quota pools ({count})",
"outlookTitle": "Quota outlook",
"outlookInsufficient": "Not enough data",
"outlookLowBalance": "Low balance",
@@ -640,12 +650,12 @@
"outlookRate": "Recent rate",
"outlookRateValue": "{count} req/min",
"outlookRunsOut": "May run out",
- "outlookStaleHint": "Last reported balance only. A recent observation with a known future reset is needed for a forecast.",
+ "outlookStaleHint": "This balance is old or its window has expired. A fresh provider reading is needed.",
"outlookError": "Could not load quota forecasts. Raw observations are still available below.",
"outlookRetry": "Retry",
"outlookAttention": "Quota pools needing attention: {count}",
"outlookNoWarnings": "No forecast warnings. Pools with insufficient data may still be limited.",
- "outlookHint": "Estimates use recent request traffic and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset. Unknown data stays unknown.",
+ "outlookHint": "Rates count successful requests through this instance only, not usage elsewhere. Forecasts require recent provider balances and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset.",
"outlookRaw": "Raw quota observations"
},
"backups": {
diff --git a/client/src/i18n/locales/el.json b/client/src/i18n/locales/el.json
index f6238610..b0270f46 100644
--- a/client/src/i18n/locales/el.json
+++ b/client/src/i18n/locales/el.json
@@ -625,6 +625,16 @@
"editModelsSync": "Check catalog updates",
"editModelsSyncing": "Checking…",
"editModelsSynced": "Model catalog checked",
+ "outlookUnavailable": "Unavailable",
+ "outlookNoForecasts": "Forecast unavailable. More recent traffic or reliable quota readings are needed.",
+ "outlookCoverage": "Forecasts available for {count} of {total} pools.",
+ "outlookTraffic": "{count} successful requests through this instance in the last {minutes} minutes.",
+ "outlookMinimumTraffic": "An exhaustion forecast needs at least {count} successful requests within {minutes} minutes.",
+ "outlookNotReportedHint": "The provider has not reported a usable request balance and limit. Local usage is shown; remaining quota is unavailable.",
+ "outlookMissingResetHint": "The provider did not report a valid reset time. Remaining quota cannot support an exhaustion forecast.",
+ "outlookConfidenceHint": "This balance is not reliable enough for an exhaustion forecast.",
+ "outlookObserved": "Balance observed: {time}",
+ "outlookUnavailablePools": "Unavailable quota pools ({count})",
"outlookTitle": "Quota outlook",
"outlookInsufficient": "Not enough data",
"outlookLowBalance": "Low balance",
@@ -640,12 +650,12 @@
"outlookRate": "Recent rate",
"outlookRateValue": "{count} req/min",
"outlookRunsOut": "May run out",
- "outlookStaleHint": "Last reported balance only. A recent observation with a known future reset is needed for a forecast.",
+ "outlookStaleHint": "This balance is old or its window has expired. A fresh provider reading is needed.",
"outlookError": "Could not load quota forecasts. Raw observations are still available below.",
"outlookRetry": "Retry",
"outlookAttention": "Quota pools needing attention: {count}",
"outlookNoWarnings": "No forecast warnings. Pools with insufficient data may still be limited.",
- "outlookHint": "Estimates use recent request traffic and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset. Unknown data stays unknown.",
+ "outlookHint": "Rates count successful requests through this instance only, not usage elsewhere. Forecasts require recent provider balances and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset.",
"outlookRaw": "Raw quota observations"
},
"backups": {
diff --git a/client/src/i18n/locales/en.json b/client/src/i18n/locales/en.json
index e0061e7b..238399cf 100644
--- a/client/src/i18n/locales/en.json
+++ b/client/src/i18n/locales/en.json
@@ -625,6 +625,16 @@
"bulkDeleteConfirm": "Delete {count}?",
"bulkResult": "Updated {done}; failed {failed}.",
"bulkDeleteResult": "Deleted {done}; failed {failed}.",
+ "outlookUnavailable": "Unavailable",
+ "outlookNoForecasts": "Forecast unavailable. More recent traffic or reliable quota readings are needed.",
+ "outlookCoverage": "Forecasts available for {count} of {total} pools.",
+ "outlookTraffic": "{count} successful requests through this instance in the last {minutes} minutes.",
+ "outlookMinimumTraffic": "An exhaustion forecast needs at least {count} successful requests within {minutes} minutes.",
+ "outlookNotReportedHint": "The provider has not reported a usable request balance and limit. Local usage is shown; remaining quota is unavailable.",
+ "outlookMissingResetHint": "The provider did not report a valid reset time. Remaining quota cannot support an exhaustion forecast.",
+ "outlookConfidenceHint": "This balance is not reliable enough for an exhaustion forecast.",
+ "outlookObserved": "Balance observed: {time}",
+ "outlookUnavailablePools": "Unavailable quota pools ({count})",
"outlookTitle": "Quota outlook",
"outlookInsufficient": "Not enough data",
"outlookLowBalance": "Low balance",
@@ -640,12 +650,12 @@
"outlookRate": "Recent rate",
"outlookRateValue": "{count} req/min",
"outlookRunsOut": "May run out",
- "outlookStaleHint": "Last reported balance only. A recent observation with a known future reset is needed for a forecast.",
+ "outlookStaleHint": "This balance is old or its window has expired. A fresh provider reading is needed.",
"outlookError": "Could not load quota forecasts. Raw observations are still available below.",
"outlookRetry": "Retry",
"outlookAttention": "Quota pools needing attention: {count}",
"outlookNoWarnings": "No forecast warnings. Pools with insufficient data may still be limited.",
- "outlookHint": "Estimates use recent request traffic and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset. Unknown data stays unknown.",
+ "outlookHint": "Rates count successful requests through this instance only, not usage elsewhere. Forecasts require recent provider balances and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset.",
"outlookRaw": "Raw quota observations"
},
"backups": {
diff --git a/client/src/i18n/locales/es.json b/client/src/i18n/locales/es.json
index 48ea0fef..74ab463a 100644
--- a/client/src/i18n/locales/es.json
+++ b/client/src/i18n/locales/es.json
@@ -625,6 +625,16 @@
"editModelsSync": "Comprobar actualizaciones del catálogo",
"editModelsSyncing": "Comprobando…",
"editModelsSynced": "Catálogo de modelos comprobado",
+ "outlookUnavailable": "Unavailable",
+ "outlookNoForecasts": "Forecast unavailable. More recent traffic or reliable quota readings are needed.",
+ "outlookCoverage": "Forecasts available for {count} of {total} pools.",
+ "outlookTraffic": "{count} successful requests through this instance in the last {minutes} minutes.",
+ "outlookMinimumTraffic": "An exhaustion forecast needs at least {count} successful requests within {minutes} minutes.",
+ "outlookNotReportedHint": "The provider has not reported a usable request balance and limit. Local usage is shown; remaining quota is unavailable.",
+ "outlookMissingResetHint": "The provider did not report a valid reset time. Remaining quota cannot support an exhaustion forecast.",
+ "outlookConfidenceHint": "This balance is not reliable enough for an exhaustion forecast.",
+ "outlookObserved": "Balance observed: {time}",
+ "outlookUnavailablePools": "Unavailable quota pools ({count})",
"outlookTitle": "Quota outlook",
"outlookInsufficient": "Not enough data",
"outlookLowBalance": "Low balance",
@@ -640,12 +650,12 @@
"outlookRate": "Recent rate",
"outlookRateValue": "{count} req/min",
"outlookRunsOut": "May run out",
- "outlookStaleHint": "Last reported balance only. A recent observation with a known future reset is needed for a forecast.",
+ "outlookStaleHint": "This balance is old or its window has expired. A fresh provider reading is needed.",
"outlookError": "Could not load quota forecasts. Raw observations are still available below.",
"outlookRetry": "Retry",
"outlookAttention": "Quota pools needing attention: {count}",
"outlookNoWarnings": "No forecast warnings. Pools with insufficient data may still be limited.",
- "outlookHint": "Estimates use recent request traffic and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset. Unknown data stays unknown.",
+ "outlookHint": "Rates count successful requests through this instance only, not usage elsewhere. Forecasts require recent provider balances and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset.",
"outlookRaw": "Raw quota observations"
},
"backups": {
diff --git a/client/src/i18n/locales/fa.json b/client/src/i18n/locales/fa.json
index 8cff357a..5ab4a190 100644
--- a/client/src/i18n/locales/fa.json
+++ b/client/src/i18n/locales/fa.json
@@ -625,6 +625,16 @@
"editModelsSync": "Check catalog updates",
"editModelsSyncing": "Checking…",
"editModelsSynced": "Model catalog checked",
+ "outlookUnavailable": "Unavailable",
+ "outlookNoForecasts": "Forecast unavailable. More recent traffic or reliable quota readings are needed.",
+ "outlookCoverage": "Forecasts available for {count} of {total} pools.",
+ "outlookTraffic": "{count} successful requests through this instance in the last {minutes} minutes.",
+ "outlookMinimumTraffic": "An exhaustion forecast needs at least {count} successful requests within {minutes} minutes.",
+ "outlookNotReportedHint": "The provider has not reported a usable request balance and limit. Local usage is shown; remaining quota is unavailable.",
+ "outlookMissingResetHint": "The provider did not report a valid reset time. Remaining quota cannot support an exhaustion forecast.",
+ "outlookConfidenceHint": "This balance is not reliable enough for an exhaustion forecast.",
+ "outlookObserved": "Balance observed: {time}",
+ "outlookUnavailablePools": "Unavailable quota pools ({count})",
"outlookTitle": "Quota outlook",
"outlookInsufficient": "Not enough data",
"outlookLowBalance": "Low balance",
@@ -640,12 +650,12 @@
"outlookRate": "Recent rate",
"outlookRateValue": "{count} req/min",
"outlookRunsOut": "May run out",
- "outlookStaleHint": "Last reported balance only. A recent observation with a known future reset is needed for a forecast.",
+ "outlookStaleHint": "This balance is old or its window has expired. A fresh provider reading is needed.",
"outlookError": "Could not load quota forecasts. Raw observations are still available below.",
"outlookRetry": "Retry",
"outlookAttention": "Quota pools needing attention: {count}",
"outlookNoWarnings": "No forecast warnings. Pools with insufficient data may still be limited.",
- "outlookHint": "Estimates use recent request traffic and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset. Unknown data stays unknown.",
+ "outlookHint": "Rates count successful requests through this instance only, not usage elsewhere. Forecasts require recent provider balances and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset.",
"outlookRaw": "Raw quota observations"
},
"backups": {
diff --git a/client/src/i18n/locales/fi.json b/client/src/i18n/locales/fi.json
index 27e94c00..8ca1d70c 100644
--- a/client/src/i18n/locales/fi.json
+++ b/client/src/i18n/locales/fi.json
@@ -625,6 +625,16 @@
"editModelsSync": "Check catalog updates",
"editModelsSyncing": "Checking…",
"editModelsSynced": "Model catalog checked",
+ "outlookUnavailable": "Unavailable",
+ "outlookNoForecasts": "Forecast unavailable. More recent traffic or reliable quota readings are needed.",
+ "outlookCoverage": "Forecasts available for {count} of {total} pools.",
+ "outlookTraffic": "{count} successful requests through this instance in the last {minutes} minutes.",
+ "outlookMinimumTraffic": "An exhaustion forecast needs at least {count} successful requests within {minutes} minutes.",
+ "outlookNotReportedHint": "The provider has not reported a usable request balance and limit. Local usage is shown; remaining quota is unavailable.",
+ "outlookMissingResetHint": "The provider did not report a valid reset time. Remaining quota cannot support an exhaustion forecast.",
+ "outlookConfidenceHint": "This balance is not reliable enough for an exhaustion forecast.",
+ "outlookObserved": "Balance observed: {time}",
+ "outlookUnavailablePools": "Unavailable quota pools ({count})",
"outlookTitle": "Quota outlook",
"outlookInsufficient": "Not enough data",
"outlookLowBalance": "Low balance",
@@ -640,12 +650,12 @@
"outlookRate": "Recent rate",
"outlookRateValue": "{count} req/min",
"outlookRunsOut": "May run out",
- "outlookStaleHint": "Last reported balance only. A recent observation with a known future reset is needed for a forecast.",
+ "outlookStaleHint": "This balance is old or its window has expired. A fresh provider reading is needed.",
"outlookError": "Could not load quota forecasts. Raw observations are still available below.",
"outlookRetry": "Retry",
"outlookAttention": "Quota pools needing attention: {count}",
"outlookNoWarnings": "No forecast warnings. Pools with insufficient data may still be limited.",
- "outlookHint": "Estimates use recent request traffic and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset. Unknown data stays unknown.",
+ "outlookHint": "Rates count successful requests through this instance only, not usage elsewhere. Forecasts require recent provider balances and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset.",
"outlookRaw": "Raw quota observations"
},
"backups": {
diff --git a/client/src/i18n/locales/fr.json b/client/src/i18n/locales/fr.json
index e2065f6b..e9afa6b4 100644
--- a/client/src/i18n/locales/fr.json
+++ b/client/src/i18n/locales/fr.json
@@ -625,6 +625,16 @@
"editModelsSync": "Vérifier les mises à jour du catalogue",
"editModelsSyncing": "Vérification…",
"editModelsSynced": "Catalogue de modèles vérifié",
+ "outlookUnavailable": "Unavailable",
+ "outlookNoForecasts": "Forecast unavailable. More recent traffic or reliable quota readings are needed.",
+ "outlookCoverage": "Forecasts available for {count} of {total} pools.",
+ "outlookTraffic": "{count} successful requests through this instance in the last {minutes} minutes.",
+ "outlookMinimumTraffic": "An exhaustion forecast needs at least {count} successful requests within {minutes} minutes.",
+ "outlookNotReportedHint": "The provider has not reported a usable request balance and limit. Local usage is shown; remaining quota is unavailable.",
+ "outlookMissingResetHint": "The provider did not report a valid reset time. Remaining quota cannot support an exhaustion forecast.",
+ "outlookConfidenceHint": "This balance is not reliable enough for an exhaustion forecast.",
+ "outlookObserved": "Balance observed: {time}",
+ "outlookUnavailablePools": "Unavailable quota pools ({count})",
"outlookTitle": "Quota outlook",
"outlookInsufficient": "Not enough data",
"outlookLowBalance": "Low balance",
@@ -640,12 +650,12 @@
"outlookRate": "Recent rate",
"outlookRateValue": "{count} req/min",
"outlookRunsOut": "May run out",
- "outlookStaleHint": "Last reported balance only. A recent observation with a known future reset is needed for a forecast.",
+ "outlookStaleHint": "This balance is old or its window has expired. A fresh provider reading is needed.",
"outlookError": "Could not load quota forecasts. Raw observations are still available below.",
"outlookRetry": "Retry",
"outlookAttention": "Quota pools needing attention: {count}",
"outlookNoWarnings": "No forecast warnings. Pools with insufficient data may still be limited.",
- "outlookHint": "Estimates use recent request traffic and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset. Unknown data stays unknown.",
+ "outlookHint": "Rates count successful requests through this instance only, not usage elsewhere. Forecasts require recent provider balances and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset.",
"outlookRaw": "Raw quota observations"
},
"backups": {
diff --git a/client/src/i18n/locales/gu.json b/client/src/i18n/locales/gu.json
index 3bf344f1..aeeed387 100644
--- a/client/src/i18n/locales/gu.json
+++ b/client/src/i18n/locales/gu.json
@@ -625,6 +625,16 @@
"editModelsSync": "Check catalog updates",
"editModelsSyncing": "Checking…",
"editModelsSynced": "Model catalog checked",
+ "outlookUnavailable": "Unavailable",
+ "outlookNoForecasts": "Forecast unavailable. More recent traffic or reliable quota readings are needed.",
+ "outlookCoverage": "Forecasts available for {count} of {total} pools.",
+ "outlookTraffic": "{count} successful requests through this instance in the last {minutes} minutes.",
+ "outlookMinimumTraffic": "An exhaustion forecast needs at least {count} successful requests within {minutes} minutes.",
+ "outlookNotReportedHint": "The provider has not reported a usable request balance and limit. Local usage is shown; remaining quota is unavailable.",
+ "outlookMissingResetHint": "The provider did not report a valid reset time. Remaining quota cannot support an exhaustion forecast.",
+ "outlookConfidenceHint": "This balance is not reliable enough for an exhaustion forecast.",
+ "outlookObserved": "Balance observed: {time}",
+ "outlookUnavailablePools": "Unavailable quota pools ({count})",
"outlookTitle": "Quota outlook",
"outlookInsufficient": "Not enough data",
"outlookLowBalance": "Low balance",
@@ -640,12 +650,12 @@
"outlookRate": "Recent rate",
"outlookRateValue": "{count} req/min",
"outlookRunsOut": "May run out",
- "outlookStaleHint": "Last reported balance only. A recent observation with a known future reset is needed for a forecast.",
+ "outlookStaleHint": "This balance is old or its window has expired. A fresh provider reading is needed.",
"outlookError": "Could not load quota forecasts. Raw observations are still available below.",
"outlookRetry": "Retry",
"outlookAttention": "Quota pools needing attention: {count}",
"outlookNoWarnings": "No forecast warnings. Pools with insufficient data may still be limited.",
- "outlookHint": "Estimates use recent request traffic and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset. Unknown data stays unknown.",
+ "outlookHint": "Rates count successful requests through this instance only, not usage elsewhere. Forecasts require recent provider balances and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset.",
"outlookRaw": "Raw quota observations"
},
"backups": {
diff --git a/client/src/i18n/locales/ha.json b/client/src/i18n/locales/ha.json
index 721703f4..103f293a 100644
--- a/client/src/i18n/locales/ha.json
+++ b/client/src/i18n/locales/ha.json
@@ -625,6 +625,16 @@
"editModelsSync": "Check catalog updates",
"editModelsSyncing": "Checking…",
"editModelsSynced": "Model catalog checked",
+ "outlookUnavailable": "Unavailable",
+ "outlookNoForecasts": "Forecast unavailable. More recent traffic or reliable quota readings are needed.",
+ "outlookCoverage": "Forecasts available for {count} of {total} pools.",
+ "outlookTraffic": "{count} successful requests through this instance in the last {minutes} minutes.",
+ "outlookMinimumTraffic": "An exhaustion forecast needs at least {count} successful requests within {minutes} minutes.",
+ "outlookNotReportedHint": "The provider has not reported a usable request balance and limit. Local usage is shown; remaining quota is unavailable.",
+ "outlookMissingResetHint": "The provider did not report a valid reset time. Remaining quota cannot support an exhaustion forecast.",
+ "outlookConfidenceHint": "This balance is not reliable enough for an exhaustion forecast.",
+ "outlookObserved": "Balance observed: {time}",
+ "outlookUnavailablePools": "Unavailable quota pools ({count})",
"outlookTitle": "Quota outlook",
"outlookInsufficient": "Not enough data",
"outlookLowBalance": "Low balance",
@@ -640,12 +650,12 @@
"outlookRate": "Recent rate",
"outlookRateValue": "{count} req/min",
"outlookRunsOut": "May run out",
- "outlookStaleHint": "Last reported balance only. A recent observation with a known future reset is needed for a forecast.",
+ "outlookStaleHint": "This balance is old or its window has expired. A fresh provider reading is needed.",
"outlookError": "Could not load quota forecasts. Raw observations are still available below.",
"outlookRetry": "Retry",
"outlookAttention": "Quota pools needing attention: {count}",
"outlookNoWarnings": "No forecast warnings. Pools with insufficient data may still be limited.",
- "outlookHint": "Estimates use recent request traffic and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset. Unknown data stays unknown.",
+ "outlookHint": "Rates count successful requests through this instance only, not usage elsewhere. Forecasts require recent provider balances and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset.",
"outlookRaw": "Raw quota observations"
},
"backups": {
diff --git a/client/src/i18n/locales/he.json b/client/src/i18n/locales/he.json
index 881d3d47..d6537a7c 100644
--- a/client/src/i18n/locales/he.json
+++ b/client/src/i18n/locales/he.json
@@ -625,6 +625,16 @@
"editModelsSync": "Check catalog updates",
"editModelsSyncing": "Checking…",
"editModelsSynced": "Model catalog checked",
+ "outlookUnavailable": "Unavailable",
+ "outlookNoForecasts": "Forecast unavailable. More recent traffic or reliable quota readings are needed.",
+ "outlookCoverage": "Forecasts available for {count} of {total} pools.",
+ "outlookTraffic": "{count} successful requests through this instance in the last {minutes} minutes.",
+ "outlookMinimumTraffic": "An exhaustion forecast needs at least {count} successful requests within {minutes} minutes.",
+ "outlookNotReportedHint": "The provider has not reported a usable request balance and limit. Local usage is shown; remaining quota is unavailable.",
+ "outlookMissingResetHint": "The provider did not report a valid reset time. Remaining quota cannot support an exhaustion forecast.",
+ "outlookConfidenceHint": "This balance is not reliable enough for an exhaustion forecast.",
+ "outlookObserved": "Balance observed: {time}",
+ "outlookUnavailablePools": "Unavailable quota pools ({count})",
"outlookTitle": "Quota outlook",
"outlookInsufficient": "Not enough data",
"outlookLowBalance": "Low balance",
@@ -640,12 +650,12 @@
"outlookRate": "Recent rate",
"outlookRateValue": "{count} req/min",
"outlookRunsOut": "May run out",
- "outlookStaleHint": "Last reported balance only. A recent observation with a known future reset is needed for a forecast.",
+ "outlookStaleHint": "This balance is old or its window has expired. A fresh provider reading is needed.",
"outlookError": "Could not load quota forecasts. Raw observations are still available below.",
"outlookRetry": "Retry",
"outlookAttention": "Quota pools needing attention: {count}",
"outlookNoWarnings": "No forecast warnings. Pools with insufficient data may still be limited.",
- "outlookHint": "Estimates use recent request traffic and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset. Unknown data stays unknown.",
+ "outlookHint": "Rates count successful requests through this instance only, not usage elsewhere. Forecasts require recent provider balances and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset.",
"outlookRaw": "Raw quota observations"
},
"backups": {
diff --git a/client/src/i18n/locales/hi.json b/client/src/i18n/locales/hi.json
index ed14cfc1..b9f85166 100644
--- a/client/src/i18n/locales/hi.json
+++ b/client/src/i18n/locales/hi.json
@@ -625,6 +625,16 @@
"editModelsSync": "Check catalog updates",
"editModelsSyncing": "Checking…",
"editModelsSynced": "Model catalog checked",
+ "outlookUnavailable": "Unavailable",
+ "outlookNoForecasts": "Forecast unavailable. More recent traffic or reliable quota readings are needed.",
+ "outlookCoverage": "Forecasts available for {count} of {total} pools.",
+ "outlookTraffic": "{count} successful requests through this instance in the last {minutes} minutes.",
+ "outlookMinimumTraffic": "An exhaustion forecast needs at least {count} successful requests within {minutes} minutes.",
+ "outlookNotReportedHint": "The provider has not reported a usable request balance and limit. Local usage is shown; remaining quota is unavailable.",
+ "outlookMissingResetHint": "The provider did not report a valid reset time. Remaining quota cannot support an exhaustion forecast.",
+ "outlookConfidenceHint": "This balance is not reliable enough for an exhaustion forecast.",
+ "outlookObserved": "Balance observed: {time}",
+ "outlookUnavailablePools": "Unavailable quota pools ({count})",
"outlookTitle": "Quota outlook",
"outlookInsufficient": "Not enough data",
"outlookLowBalance": "Low balance",
@@ -640,12 +650,12 @@
"outlookRate": "Recent rate",
"outlookRateValue": "{count} req/min",
"outlookRunsOut": "May run out",
- "outlookStaleHint": "Last reported balance only. A recent observation with a known future reset is needed for a forecast.",
+ "outlookStaleHint": "This balance is old or its window has expired. A fresh provider reading is needed.",
"outlookError": "Could not load quota forecasts. Raw observations are still available below.",
"outlookRetry": "Retry",
"outlookAttention": "Quota pools needing attention: {count}",
"outlookNoWarnings": "No forecast warnings. Pools with insufficient data may still be limited.",
- "outlookHint": "Estimates use recent request traffic and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset. Unknown data stays unknown.",
+ "outlookHint": "Rates count successful requests through this instance only, not usage elsewhere. Forecasts require recent provider balances and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset.",
"outlookRaw": "Raw quota observations"
},
"backups": {
diff --git a/client/src/i18n/locales/hr.json b/client/src/i18n/locales/hr.json
index b4bcdad2..c1e3f91e 100644
--- a/client/src/i18n/locales/hr.json
+++ b/client/src/i18n/locales/hr.json
@@ -625,6 +625,16 @@
"editModelsSync": "Check catalog updates",
"editModelsSyncing": "Checking…",
"editModelsSynced": "Model catalog checked",
+ "outlookUnavailable": "Unavailable",
+ "outlookNoForecasts": "Forecast unavailable. More recent traffic or reliable quota readings are needed.",
+ "outlookCoverage": "Forecasts available for {count} of {total} pools.",
+ "outlookTraffic": "{count} successful requests through this instance in the last {minutes} minutes.",
+ "outlookMinimumTraffic": "An exhaustion forecast needs at least {count} successful requests within {minutes} minutes.",
+ "outlookNotReportedHint": "The provider has not reported a usable request balance and limit. Local usage is shown; remaining quota is unavailable.",
+ "outlookMissingResetHint": "The provider did not report a valid reset time. Remaining quota cannot support an exhaustion forecast.",
+ "outlookConfidenceHint": "This balance is not reliable enough for an exhaustion forecast.",
+ "outlookObserved": "Balance observed: {time}",
+ "outlookUnavailablePools": "Unavailable quota pools ({count})",
"outlookTitle": "Quota outlook",
"outlookInsufficient": "Not enough data",
"outlookLowBalance": "Low balance",
@@ -640,12 +650,12 @@
"outlookRate": "Recent rate",
"outlookRateValue": "{count} req/min",
"outlookRunsOut": "May run out",
- "outlookStaleHint": "Last reported balance only. A recent observation with a known future reset is needed for a forecast.",
+ "outlookStaleHint": "This balance is old or its window has expired. A fresh provider reading is needed.",
"outlookError": "Could not load quota forecasts. Raw observations are still available below.",
"outlookRetry": "Retry",
"outlookAttention": "Quota pools needing attention: {count}",
"outlookNoWarnings": "No forecast warnings. Pools with insufficient data may still be limited.",
- "outlookHint": "Estimates use recent request traffic and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset. Unknown data stays unknown.",
+ "outlookHint": "Rates count successful requests through this instance only, not usage elsewhere. Forecasts require recent provider balances and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset.",
"outlookRaw": "Raw quota observations"
},
"backups": {
diff --git a/client/src/i18n/locales/hu.json b/client/src/i18n/locales/hu.json
index e3baef80..d34746d8 100644
--- a/client/src/i18n/locales/hu.json
+++ b/client/src/i18n/locales/hu.json
@@ -625,6 +625,16 @@
"editModelsSync": "Check catalog updates",
"editModelsSyncing": "Checking…",
"editModelsSynced": "Model catalog checked",
+ "outlookUnavailable": "Unavailable",
+ "outlookNoForecasts": "Forecast unavailable. More recent traffic or reliable quota readings are needed.",
+ "outlookCoverage": "Forecasts available for {count} of {total} pools.",
+ "outlookTraffic": "{count} successful requests through this instance in the last {minutes} minutes.",
+ "outlookMinimumTraffic": "An exhaustion forecast needs at least {count} successful requests within {minutes} minutes.",
+ "outlookNotReportedHint": "The provider has not reported a usable request balance and limit. Local usage is shown; remaining quota is unavailable.",
+ "outlookMissingResetHint": "The provider did not report a valid reset time. Remaining quota cannot support an exhaustion forecast.",
+ "outlookConfidenceHint": "This balance is not reliable enough for an exhaustion forecast.",
+ "outlookObserved": "Balance observed: {time}",
+ "outlookUnavailablePools": "Unavailable quota pools ({count})",
"outlookTitle": "Quota outlook",
"outlookInsufficient": "Not enough data",
"outlookLowBalance": "Low balance",
@@ -640,12 +650,12 @@
"outlookRate": "Recent rate",
"outlookRateValue": "{count} req/min",
"outlookRunsOut": "May run out",
- "outlookStaleHint": "Last reported balance only. A recent observation with a known future reset is needed for a forecast.",
+ "outlookStaleHint": "This balance is old or its window has expired. A fresh provider reading is needed.",
"outlookError": "Could not load quota forecasts. Raw observations are still available below.",
"outlookRetry": "Retry",
"outlookAttention": "Quota pools needing attention: {count}",
"outlookNoWarnings": "No forecast warnings. Pools with insufficient data may still be limited.",
- "outlookHint": "Estimates use recent request traffic and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset. Unknown data stays unknown.",
+ "outlookHint": "Rates count successful requests through this instance only, not usage elsewhere. Forecasts require recent provider balances and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset.",
"outlookRaw": "Raw quota observations"
},
"backups": {
diff --git a/client/src/i18n/locales/id.json b/client/src/i18n/locales/id.json
index 6eef927a..ea7032c8 100644
--- a/client/src/i18n/locales/id.json
+++ b/client/src/i18n/locales/id.json
@@ -625,6 +625,16 @@
"editModelsSync": "Check catalog updates",
"editModelsSyncing": "Checking…",
"editModelsSynced": "Model catalog checked",
+ "outlookUnavailable": "Unavailable",
+ "outlookNoForecasts": "Forecast unavailable. More recent traffic or reliable quota readings are needed.",
+ "outlookCoverage": "Forecasts available for {count} of {total} pools.",
+ "outlookTraffic": "{count} successful requests through this instance in the last {minutes} minutes.",
+ "outlookMinimumTraffic": "An exhaustion forecast needs at least {count} successful requests within {minutes} minutes.",
+ "outlookNotReportedHint": "The provider has not reported a usable request balance and limit. Local usage is shown; remaining quota is unavailable.",
+ "outlookMissingResetHint": "The provider did not report a valid reset time. Remaining quota cannot support an exhaustion forecast.",
+ "outlookConfidenceHint": "This balance is not reliable enough for an exhaustion forecast.",
+ "outlookObserved": "Balance observed: {time}",
+ "outlookUnavailablePools": "Unavailable quota pools ({count})",
"outlookTitle": "Quota outlook",
"outlookInsufficient": "Not enough data",
"outlookLowBalance": "Low balance",
@@ -640,12 +650,12 @@
"outlookRate": "Recent rate",
"outlookRateValue": "{count} req/min",
"outlookRunsOut": "May run out",
- "outlookStaleHint": "Last reported balance only. A recent observation with a known future reset is needed for a forecast.",
+ "outlookStaleHint": "This balance is old or its window has expired. A fresh provider reading is needed.",
"outlookError": "Could not load quota forecasts. Raw observations are still available below.",
"outlookRetry": "Retry",
"outlookAttention": "Quota pools needing attention: {count}",
"outlookNoWarnings": "No forecast warnings. Pools with insufficient data may still be limited.",
- "outlookHint": "Estimates use recent request traffic and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset. Unknown data stays unknown.",
+ "outlookHint": "Rates count successful requests through this instance only, not usage elsewhere. Forecasts require recent provider balances and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset.",
"outlookRaw": "Raw quota observations"
},
"backups": {
diff --git a/client/src/i18n/locales/ig.json b/client/src/i18n/locales/ig.json
index d0471446..6715cf61 100644
--- a/client/src/i18n/locales/ig.json
+++ b/client/src/i18n/locales/ig.json
@@ -625,6 +625,16 @@
"editModelsSync": "Check catalog updates",
"editModelsSyncing": "Checking…",
"editModelsSynced": "Model catalog checked",
+ "outlookUnavailable": "Unavailable",
+ "outlookNoForecasts": "Forecast unavailable. More recent traffic or reliable quota readings are needed.",
+ "outlookCoverage": "Forecasts available for {count} of {total} pools.",
+ "outlookTraffic": "{count} successful requests through this instance in the last {minutes} minutes.",
+ "outlookMinimumTraffic": "An exhaustion forecast needs at least {count} successful requests within {minutes} minutes.",
+ "outlookNotReportedHint": "The provider has not reported a usable request balance and limit. Local usage is shown; remaining quota is unavailable.",
+ "outlookMissingResetHint": "The provider did not report a valid reset time. Remaining quota cannot support an exhaustion forecast.",
+ "outlookConfidenceHint": "This balance is not reliable enough for an exhaustion forecast.",
+ "outlookObserved": "Balance observed: {time}",
+ "outlookUnavailablePools": "Unavailable quota pools ({count})",
"outlookTitle": "Quota outlook",
"outlookInsufficient": "Not enough data",
"outlookLowBalance": "Low balance",
@@ -640,12 +650,12 @@
"outlookRate": "Recent rate",
"outlookRateValue": "{count} req/min",
"outlookRunsOut": "May run out",
- "outlookStaleHint": "Last reported balance only. A recent observation with a known future reset is needed for a forecast.",
+ "outlookStaleHint": "This balance is old or its window has expired. A fresh provider reading is needed.",
"outlookError": "Could not load quota forecasts. Raw observations are still available below.",
"outlookRetry": "Retry",
"outlookAttention": "Quota pools needing attention: {count}",
"outlookNoWarnings": "No forecast warnings. Pools with insufficient data may still be limited.",
- "outlookHint": "Estimates use recent request traffic and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset. Unknown data stays unknown.",
+ "outlookHint": "Rates count successful requests through this instance only, not usage elsewhere. Forecasts require recent provider balances and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset.",
"outlookRaw": "Raw quota observations"
},
"backups": {
diff --git a/client/src/i18n/locales/it.json b/client/src/i18n/locales/it.json
index b8645956..c1858a45 100644
--- a/client/src/i18n/locales/it.json
+++ b/client/src/i18n/locales/it.json
@@ -625,6 +625,16 @@
"editModelsSync": "Check catalog updates",
"editModelsSyncing": "Checking…",
"editModelsSynced": "Model catalog checked",
+ "outlookUnavailable": "Unavailable",
+ "outlookNoForecasts": "Forecast unavailable. More recent traffic or reliable quota readings are needed.",
+ "outlookCoverage": "Forecasts available for {count} of {total} pools.",
+ "outlookTraffic": "{count} successful requests through this instance in the last {minutes} minutes.",
+ "outlookMinimumTraffic": "An exhaustion forecast needs at least {count} successful requests within {minutes} minutes.",
+ "outlookNotReportedHint": "The provider has not reported a usable request balance and limit. Local usage is shown; remaining quota is unavailable.",
+ "outlookMissingResetHint": "The provider did not report a valid reset time. Remaining quota cannot support an exhaustion forecast.",
+ "outlookConfidenceHint": "This balance is not reliable enough for an exhaustion forecast.",
+ "outlookObserved": "Balance observed: {time}",
+ "outlookUnavailablePools": "Unavailable quota pools ({count})",
"outlookTitle": "Quota outlook",
"outlookInsufficient": "Not enough data",
"outlookLowBalance": "Low balance",
@@ -640,12 +650,12 @@
"outlookRate": "Recent rate",
"outlookRateValue": "{count} req/min",
"outlookRunsOut": "May run out",
- "outlookStaleHint": "Last reported balance only. A recent observation with a known future reset is needed for a forecast.",
+ "outlookStaleHint": "This balance is old or its window has expired. A fresh provider reading is needed.",
"outlookError": "Could not load quota forecasts. Raw observations are still available below.",
"outlookRetry": "Retry",
"outlookAttention": "Quota pools needing attention: {count}",
"outlookNoWarnings": "No forecast warnings. Pools with insufficient data may still be limited.",
- "outlookHint": "Estimates use recent request traffic and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset. Unknown data stays unknown.",
+ "outlookHint": "Rates count successful requests through this instance only, not usage elsewhere. Forecasts require recent provider balances and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset.",
"outlookRaw": "Raw quota observations"
},
"backups": {
diff --git a/client/src/i18n/locales/ja.json b/client/src/i18n/locales/ja.json
index f9a82b46..a19b99ff 100644
--- a/client/src/i18n/locales/ja.json
+++ b/client/src/i18n/locales/ja.json
@@ -625,6 +625,16 @@
"editModelsSync": "カタログの更新を確認",
"editModelsSyncing": "確認中…",
"editModelsSynced": "モデルカタログを確認しました",
+ "outlookUnavailable": "Unavailable",
+ "outlookNoForecasts": "Forecast unavailable. More recent traffic or reliable quota readings are needed.",
+ "outlookCoverage": "Forecasts available for {count} of {total} pools.",
+ "outlookTraffic": "{count} successful requests through this instance in the last {minutes} minutes.",
+ "outlookMinimumTraffic": "An exhaustion forecast needs at least {count} successful requests within {minutes} minutes.",
+ "outlookNotReportedHint": "The provider has not reported a usable request balance and limit. Local usage is shown; remaining quota is unavailable.",
+ "outlookMissingResetHint": "The provider did not report a valid reset time. Remaining quota cannot support an exhaustion forecast.",
+ "outlookConfidenceHint": "This balance is not reliable enough for an exhaustion forecast.",
+ "outlookObserved": "Balance observed: {time}",
+ "outlookUnavailablePools": "Unavailable quota pools ({count})",
"outlookTitle": "Quota outlook",
"outlookInsufficient": "Not enough data",
"outlookLowBalance": "Low balance",
@@ -640,12 +650,12 @@
"outlookRate": "Recent rate",
"outlookRateValue": "{count} req/min",
"outlookRunsOut": "May run out",
- "outlookStaleHint": "Last reported balance only. A recent observation with a known future reset is needed for a forecast.",
+ "outlookStaleHint": "This balance is old or its window has expired. A fresh provider reading is needed.",
"outlookError": "Could not load quota forecasts. Raw observations are still available below.",
"outlookRetry": "Retry",
"outlookAttention": "Quota pools needing attention: {count}",
"outlookNoWarnings": "No forecast warnings. Pools with insufficient data may still be limited.",
- "outlookHint": "Estimates use recent request traffic and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset. Unknown data stays unknown.",
+ "outlookHint": "Rates count successful requests through this instance only, not usage elsewhere. Forecasts require recent provider balances and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset.",
"outlookRaw": "Raw quota observations"
},
"backups": {
diff --git a/client/src/i18n/locales/ka.json b/client/src/i18n/locales/ka.json
index 103e7b74..3fbdfd67 100644
--- a/client/src/i18n/locales/ka.json
+++ b/client/src/i18n/locales/ka.json
@@ -625,6 +625,16 @@
"editModelsSync": "Check catalog updates",
"editModelsSyncing": "Checking…",
"editModelsSynced": "Model catalog checked",
+ "outlookUnavailable": "Unavailable",
+ "outlookNoForecasts": "Forecast unavailable. More recent traffic or reliable quota readings are needed.",
+ "outlookCoverage": "Forecasts available for {count} of {total} pools.",
+ "outlookTraffic": "{count} successful requests through this instance in the last {minutes} minutes.",
+ "outlookMinimumTraffic": "An exhaustion forecast needs at least {count} successful requests within {minutes} minutes.",
+ "outlookNotReportedHint": "The provider has not reported a usable request balance and limit. Local usage is shown; remaining quota is unavailable.",
+ "outlookMissingResetHint": "The provider did not report a valid reset time. Remaining quota cannot support an exhaustion forecast.",
+ "outlookConfidenceHint": "This balance is not reliable enough for an exhaustion forecast.",
+ "outlookObserved": "Balance observed: {time}",
+ "outlookUnavailablePools": "Unavailable quota pools ({count})",
"outlookTitle": "Quota outlook",
"outlookInsufficient": "Not enough data",
"outlookLowBalance": "Low balance",
@@ -640,12 +650,12 @@
"outlookRate": "Recent rate",
"outlookRateValue": "{count} req/min",
"outlookRunsOut": "May run out",
- "outlookStaleHint": "Last reported balance only. A recent observation with a known future reset is needed for a forecast.",
+ "outlookStaleHint": "This balance is old or its window has expired. A fresh provider reading is needed.",
"outlookError": "Could not load quota forecasts. Raw observations are still available below.",
"outlookRetry": "Retry",
"outlookAttention": "Quota pools needing attention: {count}",
"outlookNoWarnings": "No forecast warnings. Pools with insufficient data may still be limited.",
- "outlookHint": "Estimates use recent request traffic and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset. Unknown data stays unknown.",
+ "outlookHint": "Rates count successful requests through this instance only, not usage elsewhere. Forecasts require recent provider balances and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset.",
"outlookRaw": "Raw quota observations"
},
"backups": {
diff --git a/client/src/i18n/locales/km.json b/client/src/i18n/locales/km.json
index bf6fbc1f..b4c950f9 100644
--- a/client/src/i18n/locales/km.json
+++ b/client/src/i18n/locales/km.json
@@ -625,6 +625,16 @@
"editModelsSync": "Check catalog updates",
"editModelsSyncing": "Checking…",
"editModelsSynced": "Model catalog checked",
+ "outlookUnavailable": "Unavailable",
+ "outlookNoForecasts": "Forecast unavailable. More recent traffic or reliable quota readings are needed.",
+ "outlookCoverage": "Forecasts available for {count} of {total} pools.",
+ "outlookTraffic": "{count} successful requests through this instance in the last {minutes} minutes.",
+ "outlookMinimumTraffic": "An exhaustion forecast needs at least {count} successful requests within {minutes} minutes.",
+ "outlookNotReportedHint": "The provider has not reported a usable request balance and limit. Local usage is shown; remaining quota is unavailable.",
+ "outlookMissingResetHint": "The provider did not report a valid reset time. Remaining quota cannot support an exhaustion forecast.",
+ "outlookConfidenceHint": "This balance is not reliable enough for an exhaustion forecast.",
+ "outlookObserved": "Balance observed: {time}",
+ "outlookUnavailablePools": "Unavailable quota pools ({count})",
"outlookTitle": "Quota outlook",
"outlookInsufficient": "Not enough data",
"outlookLowBalance": "Low balance",
@@ -640,12 +650,12 @@
"outlookRate": "Recent rate",
"outlookRateValue": "{count} req/min",
"outlookRunsOut": "May run out",
- "outlookStaleHint": "Last reported balance only. A recent observation with a known future reset is needed for a forecast.",
+ "outlookStaleHint": "This balance is old or its window has expired. A fresh provider reading is needed.",
"outlookError": "Could not load quota forecasts. Raw observations are still available below.",
"outlookRetry": "Retry",
"outlookAttention": "Quota pools needing attention: {count}",
"outlookNoWarnings": "No forecast warnings. Pools with insufficient data may still be limited.",
- "outlookHint": "Estimates use recent request traffic and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset. Unknown data stays unknown.",
+ "outlookHint": "Rates count successful requests through this instance only, not usage elsewhere. Forecasts require recent provider balances and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset.",
"outlookRaw": "Raw quota observations"
},
"backups": {
diff --git a/client/src/i18n/locales/kn.json b/client/src/i18n/locales/kn.json
index 400943f8..2874fdbf 100644
--- a/client/src/i18n/locales/kn.json
+++ b/client/src/i18n/locales/kn.json
@@ -625,6 +625,16 @@
"editModelsSync": "Check catalog updates",
"editModelsSyncing": "Checking…",
"editModelsSynced": "Model catalog checked",
+ "outlookUnavailable": "Unavailable",
+ "outlookNoForecasts": "Forecast unavailable. More recent traffic or reliable quota readings are needed.",
+ "outlookCoverage": "Forecasts available for {count} of {total} pools.",
+ "outlookTraffic": "{count} successful requests through this instance in the last {minutes} minutes.",
+ "outlookMinimumTraffic": "An exhaustion forecast needs at least {count} successful requests within {minutes} minutes.",
+ "outlookNotReportedHint": "The provider has not reported a usable request balance and limit. Local usage is shown; remaining quota is unavailable.",
+ "outlookMissingResetHint": "The provider did not report a valid reset time. Remaining quota cannot support an exhaustion forecast.",
+ "outlookConfidenceHint": "This balance is not reliable enough for an exhaustion forecast.",
+ "outlookObserved": "Balance observed: {time}",
+ "outlookUnavailablePools": "Unavailable quota pools ({count})",
"outlookTitle": "Quota outlook",
"outlookInsufficient": "Not enough data",
"outlookLowBalance": "Low balance",
@@ -640,12 +650,12 @@
"outlookRate": "Recent rate",
"outlookRateValue": "{count} req/min",
"outlookRunsOut": "May run out",
- "outlookStaleHint": "Last reported balance only. A recent observation with a known future reset is needed for a forecast.",
+ "outlookStaleHint": "This balance is old or its window has expired. A fresh provider reading is needed.",
"outlookError": "Could not load quota forecasts. Raw observations are still available below.",
"outlookRetry": "Retry",
"outlookAttention": "Quota pools needing attention: {count}",
"outlookNoWarnings": "No forecast warnings. Pools with insufficient data may still be limited.",
- "outlookHint": "Estimates use recent request traffic and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset. Unknown data stays unknown.",
+ "outlookHint": "Rates count successful requests through this instance only, not usage elsewhere. Forecasts require recent provider balances and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset.",
"outlookRaw": "Raw quota observations"
},
"backups": {
diff --git a/client/src/i18n/locales/ko.json b/client/src/i18n/locales/ko.json
index 493c045b..d8d3bf18 100644
--- a/client/src/i18n/locales/ko.json
+++ b/client/src/i18n/locales/ko.json
@@ -625,6 +625,16 @@
"editModelsSync": "카탈로그 업데이트 확인",
"editModelsSyncing": "확인 중…",
"editModelsSynced": "모델 카탈로그를 확인했습니다",
+ "outlookUnavailable": "Unavailable",
+ "outlookNoForecasts": "Forecast unavailable. More recent traffic or reliable quota readings are needed.",
+ "outlookCoverage": "Forecasts available for {count} of {total} pools.",
+ "outlookTraffic": "{count} successful requests through this instance in the last {minutes} minutes.",
+ "outlookMinimumTraffic": "An exhaustion forecast needs at least {count} successful requests within {minutes} minutes.",
+ "outlookNotReportedHint": "The provider has not reported a usable request balance and limit. Local usage is shown; remaining quota is unavailable.",
+ "outlookMissingResetHint": "The provider did not report a valid reset time. Remaining quota cannot support an exhaustion forecast.",
+ "outlookConfidenceHint": "This balance is not reliable enough for an exhaustion forecast.",
+ "outlookObserved": "Balance observed: {time}",
+ "outlookUnavailablePools": "Unavailable quota pools ({count})",
"outlookTitle": "Quota outlook",
"outlookInsufficient": "Not enough data",
"outlookLowBalance": "Low balance",
@@ -640,12 +650,12 @@
"outlookRate": "Recent rate",
"outlookRateValue": "{count} req/min",
"outlookRunsOut": "May run out",
- "outlookStaleHint": "Last reported balance only. A recent observation with a known future reset is needed for a forecast.",
+ "outlookStaleHint": "This balance is old or its window has expired. A fresh provider reading is needed.",
"outlookError": "Could not load quota forecasts. Raw observations are still available below.",
"outlookRetry": "Retry",
"outlookAttention": "Quota pools needing attention: {count}",
"outlookNoWarnings": "No forecast warnings. Pools with insufficient data may still be limited.",
- "outlookHint": "Estimates use recent request traffic and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset. Unknown data stays unknown.",
+ "outlookHint": "Rates count successful requests through this instance only, not usage elsewhere. Forecasts require recent provider balances and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset.",
"outlookRaw": "Raw quota observations"
},
"backups": {
diff --git a/client/src/i18n/locales/lt.json b/client/src/i18n/locales/lt.json
index 8a59ea71..1db6e811 100644
--- a/client/src/i18n/locales/lt.json
+++ b/client/src/i18n/locales/lt.json
@@ -625,6 +625,16 @@
"editModelsSync": "Check catalog updates",
"editModelsSyncing": "Checking…",
"editModelsSynced": "Model catalog checked",
+ "outlookUnavailable": "Unavailable",
+ "outlookNoForecasts": "Forecast unavailable. More recent traffic or reliable quota readings are needed.",
+ "outlookCoverage": "Forecasts available for {count} of {total} pools.",
+ "outlookTraffic": "{count} successful requests through this instance in the last {minutes} minutes.",
+ "outlookMinimumTraffic": "An exhaustion forecast needs at least {count} successful requests within {minutes} minutes.",
+ "outlookNotReportedHint": "The provider has not reported a usable request balance and limit. Local usage is shown; remaining quota is unavailable.",
+ "outlookMissingResetHint": "The provider did not report a valid reset time. Remaining quota cannot support an exhaustion forecast.",
+ "outlookConfidenceHint": "This balance is not reliable enough for an exhaustion forecast.",
+ "outlookObserved": "Balance observed: {time}",
+ "outlookUnavailablePools": "Unavailable quota pools ({count})",
"outlookTitle": "Quota outlook",
"outlookInsufficient": "Not enough data",
"outlookLowBalance": "Low balance",
@@ -640,12 +650,12 @@
"outlookRate": "Recent rate",
"outlookRateValue": "{count} req/min",
"outlookRunsOut": "May run out",
- "outlookStaleHint": "Last reported balance only. A recent observation with a known future reset is needed for a forecast.",
+ "outlookStaleHint": "This balance is old or its window has expired. A fresh provider reading is needed.",
"outlookError": "Could not load quota forecasts. Raw observations are still available below.",
"outlookRetry": "Retry",
"outlookAttention": "Quota pools needing attention: {count}",
"outlookNoWarnings": "No forecast warnings. Pools with insufficient data may still be limited.",
- "outlookHint": "Estimates use recent request traffic and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset. Unknown data stays unknown.",
+ "outlookHint": "Rates count successful requests through this instance only, not usage elsewhere. Forecasts require recent provider balances and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset.",
"outlookRaw": "Raw quota observations"
},
"backups": {
diff --git a/client/src/i18n/locales/ml.json b/client/src/i18n/locales/ml.json
index e34a6bb4..5a2e3f08 100644
--- a/client/src/i18n/locales/ml.json
+++ b/client/src/i18n/locales/ml.json
@@ -625,6 +625,16 @@
"editModelsSync": "Check catalog updates",
"editModelsSyncing": "Checking…",
"editModelsSynced": "Model catalog checked",
+ "outlookUnavailable": "Unavailable",
+ "outlookNoForecasts": "Forecast unavailable. More recent traffic or reliable quota readings are needed.",
+ "outlookCoverage": "Forecasts available for {count} of {total} pools.",
+ "outlookTraffic": "{count} successful requests through this instance in the last {minutes} minutes.",
+ "outlookMinimumTraffic": "An exhaustion forecast needs at least {count} successful requests within {minutes} minutes.",
+ "outlookNotReportedHint": "The provider has not reported a usable request balance and limit. Local usage is shown; remaining quota is unavailable.",
+ "outlookMissingResetHint": "The provider did not report a valid reset time. Remaining quota cannot support an exhaustion forecast.",
+ "outlookConfidenceHint": "This balance is not reliable enough for an exhaustion forecast.",
+ "outlookObserved": "Balance observed: {time}",
+ "outlookUnavailablePools": "Unavailable quota pools ({count})",
"outlookTitle": "Quota outlook",
"outlookInsufficient": "Not enough data",
"outlookLowBalance": "Low balance",
@@ -640,12 +650,12 @@
"outlookRate": "Recent rate",
"outlookRateValue": "{count} req/min",
"outlookRunsOut": "May run out",
- "outlookStaleHint": "Last reported balance only. A recent observation with a known future reset is needed for a forecast.",
+ "outlookStaleHint": "This balance is old or its window has expired. A fresh provider reading is needed.",
"outlookError": "Could not load quota forecasts. Raw observations are still available below.",
"outlookRetry": "Retry",
"outlookAttention": "Quota pools needing attention: {count}",
"outlookNoWarnings": "No forecast warnings. Pools with insufficient data may still be limited.",
- "outlookHint": "Estimates use recent request traffic and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset. Unknown data stays unknown.",
+ "outlookHint": "Rates count successful requests through this instance only, not usage elsewhere. Forecasts require recent provider balances and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset.",
"outlookRaw": "Raw quota observations"
},
"backups": {
diff --git a/client/src/i18n/locales/mr.json b/client/src/i18n/locales/mr.json
index abd98e4a..c8b6be2c 100644
--- a/client/src/i18n/locales/mr.json
+++ b/client/src/i18n/locales/mr.json
@@ -625,6 +625,16 @@
"editModelsSync": "Check catalog updates",
"editModelsSyncing": "Checking…",
"editModelsSynced": "Model catalog checked",
+ "outlookUnavailable": "Unavailable",
+ "outlookNoForecasts": "Forecast unavailable. More recent traffic or reliable quota readings are needed.",
+ "outlookCoverage": "Forecasts available for {count} of {total} pools.",
+ "outlookTraffic": "{count} successful requests through this instance in the last {minutes} minutes.",
+ "outlookMinimumTraffic": "An exhaustion forecast needs at least {count} successful requests within {minutes} minutes.",
+ "outlookNotReportedHint": "The provider has not reported a usable request balance and limit. Local usage is shown; remaining quota is unavailable.",
+ "outlookMissingResetHint": "The provider did not report a valid reset time. Remaining quota cannot support an exhaustion forecast.",
+ "outlookConfidenceHint": "This balance is not reliable enough for an exhaustion forecast.",
+ "outlookObserved": "Balance observed: {time}",
+ "outlookUnavailablePools": "Unavailable quota pools ({count})",
"outlookTitle": "Quota outlook",
"outlookInsufficient": "Not enough data",
"outlookLowBalance": "Low balance",
@@ -640,12 +650,12 @@
"outlookRate": "Recent rate",
"outlookRateValue": "{count} req/min",
"outlookRunsOut": "May run out",
- "outlookStaleHint": "Last reported balance only. A recent observation with a known future reset is needed for a forecast.",
+ "outlookStaleHint": "This balance is old or its window has expired. A fresh provider reading is needed.",
"outlookError": "Could not load quota forecasts. Raw observations are still available below.",
"outlookRetry": "Retry",
"outlookAttention": "Quota pools needing attention: {count}",
"outlookNoWarnings": "No forecast warnings. Pools with insufficient data may still be limited.",
- "outlookHint": "Estimates use recent request traffic and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset. Unknown data stays unknown.",
+ "outlookHint": "Rates count successful requests through this instance only, not usage elsewhere. Forecasts require recent provider balances and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset.",
"outlookRaw": "Raw quota observations"
},
"backups": {
diff --git a/client/src/i18n/locales/ms.json b/client/src/i18n/locales/ms.json
index c3416e45..565e05aa 100644
--- a/client/src/i18n/locales/ms.json
+++ b/client/src/i18n/locales/ms.json
@@ -625,6 +625,16 @@
"editModelsSync": "Check catalog updates",
"editModelsSyncing": "Checking…",
"editModelsSynced": "Model catalog checked",
+ "outlookUnavailable": "Unavailable",
+ "outlookNoForecasts": "Forecast unavailable. More recent traffic or reliable quota readings are needed.",
+ "outlookCoverage": "Forecasts available for {count} of {total} pools.",
+ "outlookTraffic": "{count} successful requests through this instance in the last {minutes} minutes.",
+ "outlookMinimumTraffic": "An exhaustion forecast needs at least {count} successful requests within {minutes} minutes.",
+ "outlookNotReportedHint": "The provider has not reported a usable request balance and limit. Local usage is shown; remaining quota is unavailable.",
+ "outlookMissingResetHint": "The provider did not report a valid reset time. Remaining quota cannot support an exhaustion forecast.",
+ "outlookConfidenceHint": "This balance is not reliable enough for an exhaustion forecast.",
+ "outlookObserved": "Balance observed: {time}",
+ "outlookUnavailablePools": "Unavailable quota pools ({count})",
"outlookTitle": "Quota outlook",
"outlookInsufficient": "Not enough data",
"outlookLowBalance": "Low balance",
@@ -640,12 +650,12 @@
"outlookRate": "Recent rate",
"outlookRateValue": "{count} req/min",
"outlookRunsOut": "May run out",
- "outlookStaleHint": "Last reported balance only. A recent observation with a known future reset is needed for a forecast.",
+ "outlookStaleHint": "This balance is old or its window has expired. A fresh provider reading is needed.",
"outlookError": "Could not load quota forecasts. Raw observations are still available below.",
"outlookRetry": "Retry",
"outlookAttention": "Quota pools needing attention: {count}",
"outlookNoWarnings": "No forecast warnings. Pools with insufficient data may still be limited.",
- "outlookHint": "Estimates use recent request traffic and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset. Unknown data stays unknown.",
+ "outlookHint": "Rates count successful requests through this instance only, not usage elsewhere. Forecasts require recent provider balances and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset.",
"outlookRaw": "Raw quota observations"
},
"backups": {
diff --git a/client/src/i18n/locales/my.json b/client/src/i18n/locales/my.json
index 65014ac6..f4f8e412 100644
--- a/client/src/i18n/locales/my.json
+++ b/client/src/i18n/locales/my.json
@@ -625,6 +625,16 @@
"editModelsSync": "Check catalog updates",
"editModelsSyncing": "Checking…",
"editModelsSynced": "Model catalog checked",
+ "outlookUnavailable": "Unavailable",
+ "outlookNoForecasts": "Forecast unavailable. More recent traffic or reliable quota readings are needed.",
+ "outlookCoverage": "Forecasts available for {count} of {total} pools.",
+ "outlookTraffic": "{count} successful requests through this instance in the last {minutes} minutes.",
+ "outlookMinimumTraffic": "An exhaustion forecast needs at least {count} successful requests within {minutes} minutes.",
+ "outlookNotReportedHint": "The provider has not reported a usable request balance and limit. Local usage is shown; remaining quota is unavailable.",
+ "outlookMissingResetHint": "The provider did not report a valid reset time. Remaining quota cannot support an exhaustion forecast.",
+ "outlookConfidenceHint": "This balance is not reliable enough for an exhaustion forecast.",
+ "outlookObserved": "Balance observed: {time}",
+ "outlookUnavailablePools": "Unavailable quota pools ({count})",
"outlookTitle": "Quota outlook",
"outlookInsufficient": "Not enough data",
"outlookLowBalance": "Low balance",
@@ -640,12 +650,12 @@
"outlookRate": "Recent rate",
"outlookRateValue": "{count} req/min",
"outlookRunsOut": "May run out",
- "outlookStaleHint": "Last reported balance only. A recent observation with a known future reset is needed for a forecast.",
+ "outlookStaleHint": "This balance is old or its window has expired. A fresh provider reading is needed.",
"outlookError": "Could not load quota forecasts. Raw observations are still available below.",
"outlookRetry": "Retry",
"outlookAttention": "Quota pools needing attention: {count}",
"outlookNoWarnings": "No forecast warnings. Pools with insufficient data may still be limited.",
- "outlookHint": "Estimates use recent request traffic and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset. Unknown data stays unknown.",
+ "outlookHint": "Rates count successful requests through this instance only, not usage elsewhere. Forecasts require recent provider balances and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset.",
"outlookRaw": "Raw quota observations"
},
"backups": {
diff --git a/client/src/i18n/locales/ne.json b/client/src/i18n/locales/ne.json
index 62082a9b..80c3eb4a 100644
--- a/client/src/i18n/locales/ne.json
+++ b/client/src/i18n/locales/ne.json
@@ -625,6 +625,16 @@
"editModelsSync": "Check catalog updates",
"editModelsSyncing": "Checking…",
"editModelsSynced": "Model catalog checked",
+ "outlookUnavailable": "Unavailable",
+ "outlookNoForecasts": "Forecast unavailable. More recent traffic or reliable quota readings are needed.",
+ "outlookCoverage": "Forecasts available for {count} of {total} pools.",
+ "outlookTraffic": "{count} successful requests through this instance in the last {minutes} minutes.",
+ "outlookMinimumTraffic": "An exhaustion forecast needs at least {count} successful requests within {minutes} minutes.",
+ "outlookNotReportedHint": "The provider has not reported a usable request balance and limit. Local usage is shown; remaining quota is unavailable.",
+ "outlookMissingResetHint": "The provider did not report a valid reset time. Remaining quota cannot support an exhaustion forecast.",
+ "outlookConfidenceHint": "This balance is not reliable enough for an exhaustion forecast.",
+ "outlookObserved": "Balance observed: {time}",
+ "outlookUnavailablePools": "Unavailable quota pools ({count})",
"outlookTitle": "Quota outlook",
"outlookInsufficient": "Not enough data",
"outlookLowBalance": "Low balance",
@@ -640,12 +650,12 @@
"outlookRate": "Recent rate",
"outlookRateValue": "{count} req/min",
"outlookRunsOut": "May run out",
- "outlookStaleHint": "Last reported balance only. A recent observation with a known future reset is needed for a forecast.",
+ "outlookStaleHint": "This balance is old or its window has expired. A fresh provider reading is needed.",
"outlookError": "Could not load quota forecasts. Raw observations are still available below.",
"outlookRetry": "Retry",
"outlookAttention": "Quota pools needing attention: {count}",
"outlookNoWarnings": "No forecast warnings. Pools with insufficient data may still be limited.",
- "outlookHint": "Estimates use recent request traffic and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset. Unknown data stays unknown.",
+ "outlookHint": "Rates count successful requests through this instance only, not usage elsewhere. Forecasts require recent provider balances and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset.",
"outlookRaw": "Raw quota observations"
},
"backups": {
diff --git a/client/src/i18n/locales/nl.json b/client/src/i18n/locales/nl.json
index 67fe7650..5a536a08 100644
--- a/client/src/i18n/locales/nl.json
+++ b/client/src/i18n/locales/nl.json
@@ -625,6 +625,16 @@
"editModelsSync": "Check catalog updates",
"editModelsSyncing": "Checking…",
"editModelsSynced": "Model catalog checked",
+ "outlookUnavailable": "Unavailable",
+ "outlookNoForecasts": "Forecast unavailable. More recent traffic or reliable quota readings are needed.",
+ "outlookCoverage": "Forecasts available for {count} of {total} pools.",
+ "outlookTraffic": "{count} successful requests through this instance in the last {minutes} minutes.",
+ "outlookMinimumTraffic": "An exhaustion forecast needs at least {count} successful requests within {minutes} minutes.",
+ "outlookNotReportedHint": "The provider has not reported a usable request balance and limit. Local usage is shown; remaining quota is unavailable.",
+ "outlookMissingResetHint": "The provider did not report a valid reset time. Remaining quota cannot support an exhaustion forecast.",
+ "outlookConfidenceHint": "This balance is not reliable enough for an exhaustion forecast.",
+ "outlookObserved": "Balance observed: {time}",
+ "outlookUnavailablePools": "Unavailable quota pools ({count})",
"outlookTitle": "Quota outlook",
"outlookInsufficient": "Not enough data",
"outlookLowBalance": "Low balance",
@@ -640,12 +650,12 @@
"outlookRate": "Recent rate",
"outlookRateValue": "{count} req/min",
"outlookRunsOut": "May run out",
- "outlookStaleHint": "Last reported balance only. A recent observation with a known future reset is needed for a forecast.",
+ "outlookStaleHint": "This balance is old or its window has expired. A fresh provider reading is needed.",
"outlookError": "Could not load quota forecasts. Raw observations are still available below.",
"outlookRetry": "Retry",
"outlookAttention": "Quota pools needing attention: {count}",
"outlookNoWarnings": "No forecast warnings. Pools with insufficient data may still be limited.",
- "outlookHint": "Estimates use recent request traffic and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset. Unknown data stays unknown.",
+ "outlookHint": "Rates count successful requests through this instance only, not usage elsewhere. Forecasts require recent provider balances and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset.",
"outlookRaw": "Raw quota observations"
},
"backups": {
diff --git a/client/src/i18n/locales/no.json b/client/src/i18n/locales/no.json
index 045e57f2..2159f2dc 100644
--- a/client/src/i18n/locales/no.json
+++ b/client/src/i18n/locales/no.json
@@ -625,6 +625,16 @@
"editModelsSync": "Check catalog updates",
"editModelsSyncing": "Checking…",
"editModelsSynced": "Model catalog checked",
+ "outlookUnavailable": "Unavailable",
+ "outlookNoForecasts": "Forecast unavailable. More recent traffic or reliable quota readings are needed.",
+ "outlookCoverage": "Forecasts available for {count} of {total} pools.",
+ "outlookTraffic": "{count} successful requests through this instance in the last {minutes} minutes.",
+ "outlookMinimumTraffic": "An exhaustion forecast needs at least {count} successful requests within {minutes} minutes.",
+ "outlookNotReportedHint": "The provider has not reported a usable request balance and limit. Local usage is shown; remaining quota is unavailable.",
+ "outlookMissingResetHint": "The provider did not report a valid reset time. Remaining quota cannot support an exhaustion forecast.",
+ "outlookConfidenceHint": "This balance is not reliable enough for an exhaustion forecast.",
+ "outlookObserved": "Balance observed: {time}",
+ "outlookUnavailablePools": "Unavailable quota pools ({count})",
"outlookTitle": "Quota outlook",
"outlookInsufficient": "Not enough data",
"outlookLowBalance": "Low balance",
@@ -640,12 +650,12 @@
"outlookRate": "Recent rate",
"outlookRateValue": "{count} req/min",
"outlookRunsOut": "May run out",
- "outlookStaleHint": "Last reported balance only. A recent observation with a known future reset is needed for a forecast.",
+ "outlookStaleHint": "This balance is old or its window has expired. A fresh provider reading is needed.",
"outlookError": "Could not load quota forecasts. Raw observations are still available below.",
"outlookRetry": "Retry",
"outlookAttention": "Quota pools needing attention: {count}",
"outlookNoWarnings": "No forecast warnings. Pools with insufficient data may still be limited.",
- "outlookHint": "Estimates use recent request traffic and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset. Unknown data stays unknown.",
+ "outlookHint": "Rates count successful requests through this instance only, not usage elsewhere. Forecasts require recent provider balances and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset.",
"outlookRaw": "Raw quota observations"
},
"backups": {
diff --git a/client/src/i18n/locales/or.json b/client/src/i18n/locales/or.json
index 4d362146..9c501c39 100644
--- a/client/src/i18n/locales/or.json
+++ b/client/src/i18n/locales/or.json
@@ -625,6 +625,16 @@
"editModelsSync": "Check catalog updates",
"editModelsSyncing": "Checking…",
"editModelsSynced": "Model catalog checked",
+ "outlookUnavailable": "Unavailable",
+ "outlookNoForecasts": "Forecast unavailable. More recent traffic or reliable quota readings are needed.",
+ "outlookCoverage": "Forecasts available for {count} of {total} pools.",
+ "outlookTraffic": "{count} successful requests through this instance in the last {minutes} minutes.",
+ "outlookMinimumTraffic": "An exhaustion forecast needs at least {count} successful requests within {minutes} minutes.",
+ "outlookNotReportedHint": "The provider has not reported a usable request balance and limit. Local usage is shown; remaining quota is unavailable.",
+ "outlookMissingResetHint": "The provider did not report a valid reset time. Remaining quota cannot support an exhaustion forecast.",
+ "outlookConfidenceHint": "This balance is not reliable enough for an exhaustion forecast.",
+ "outlookObserved": "Balance observed: {time}",
+ "outlookUnavailablePools": "Unavailable quota pools ({count})",
"outlookTitle": "Quota outlook",
"outlookInsufficient": "Not enough data",
"outlookLowBalance": "Low balance",
@@ -640,12 +650,12 @@
"outlookRate": "Recent rate",
"outlookRateValue": "{count} req/min",
"outlookRunsOut": "May run out",
- "outlookStaleHint": "Last reported balance only. A recent observation with a known future reset is needed for a forecast.",
+ "outlookStaleHint": "This balance is old or its window has expired. A fresh provider reading is needed.",
"outlookError": "Could not load quota forecasts. Raw observations are still available below.",
"outlookRetry": "Retry",
"outlookAttention": "Quota pools needing attention: {count}",
"outlookNoWarnings": "No forecast warnings. Pools with insufficient data may still be limited.",
- "outlookHint": "Estimates use recent request traffic and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset. Unknown data stays unknown.",
+ "outlookHint": "Rates count successful requests through this instance only, not usage elsewhere. Forecasts require recent provider balances and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset.",
"outlookRaw": "Raw quota observations"
},
"backups": {
diff --git a/client/src/i18n/locales/pa.json b/client/src/i18n/locales/pa.json
index e95bee12..d01c118f 100644
--- a/client/src/i18n/locales/pa.json
+++ b/client/src/i18n/locales/pa.json
@@ -625,6 +625,16 @@
"editModelsSync": "Check catalog updates",
"editModelsSyncing": "Checking…",
"editModelsSynced": "Model catalog checked",
+ "outlookUnavailable": "Unavailable",
+ "outlookNoForecasts": "Forecast unavailable. More recent traffic or reliable quota readings are needed.",
+ "outlookCoverage": "Forecasts available for {count} of {total} pools.",
+ "outlookTraffic": "{count} successful requests through this instance in the last {minutes} minutes.",
+ "outlookMinimumTraffic": "An exhaustion forecast needs at least {count} successful requests within {minutes} minutes.",
+ "outlookNotReportedHint": "The provider has not reported a usable request balance and limit. Local usage is shown; remaining quota is unavailable.",
+ "outlookMissingResetHint": "The provider did not report a valid reset time. Remaining quota cannot support an exhaustion forecast.",
+ "outlookConfidenceHint": "This balance is not reliable enough for an exhaustion forecast.",
+ "outlookObserved": "Balance observed: {time}",
+ "outlookUnavailablePools": "Unavailable quota pools ({count})",
"outlookTitle": "Quota outlook",
"outlookInsufficient": "Not enough data",
"outlookLowBalance": "Low balance",
@@ -640,12 +650,12 @@
"outlookRate": "Recent rate",
"outlookRateValue": "{count} req/min",
"outlookRunsOut": "May run out",
- "outlookStaleHint": "Last reported balance only. A recent observation with a known future reset is needed for a forecast.",
+ "outlookStaleHint": "This balance is old or its window has expired. A fresh provider reading is needed.",
"outlookError": "Could not load quota forecasts. Raw observations are still available below.",
"outlookRetry": "Retry",
"outlookAttention": "Quota pools needing attention: {count}",
"outlookNoWarnings": "No forecast warnings. Pools with insufficient data may still be limited.",
- "outlookHint": "Estimates use recent request traffic and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset. Unknown data stays unknown.",
+ "outlookHint": "Rates count successful requests through this instance only, not usage elsewhere. Forecasts require recent provider balances and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset.",
"outlookRaw": "Raw quota observations"
},
"backups": {
diff --git a/client/src/i18n/locales/pl.json b/client/src/i18n/locales/pl.json
index 5b83bcfc..7b49a42d 100644
--- a/client/src/i18n/locales/pl.json
+++ b/client/src/i18n/locales/pl.json
@@ -625,6 +625,16 @@
"editModelsSync": "Check catalog updates",
"editModelsSyncing": "Checking…",
"editModelsSynced": "Model catalog checked",
+ "outlookUnavailable": "Unavailable",
+ "outlookNoForecasts": "Forecast unavailable. More recent traffic or reliable quota readings are needed.",
+ "outlookCoverage": "Forecasts available for {count} of {total} pools.",
+ "outlookTraffic": "{count} successful requests through this instance in the last {minutes} minutes.",
+ "outlookMinimumTraffic": "An exhaustion forecast needs at least {count} successful requests within {minutes} minutes.",
+ "outlookNotReportedHint": "The provider has not reported a usable request balance and limit. Local usage is shown; remaining quota is unavailable.",
+ "outlookMissingResetHint": "The provider did not report a valid reset time. Remaining quota cannot support an exhaustion forecast.",
+ "outlookConfidenceHint": "This balance is not reliable enough for an exhaustion forecast.",
+ "outlookObserved": "Balance observed: {time}",
+ "outlookUnavailablePools": "Unavailable quota pools ({count})",
"outlookTitle": "Quota outlook",
"outlookInsufficient": "Not enough data",
"outlookLowBalance": "Low balance",
@@ -640,12 +650,12 @@
"outlookRate": "Recent rate",
"outlookRateValue": "{count} req/min",
"outlookRunsOut": "May run out",
- "outlookStaleHint": "Last reported balance only. A recent observation with a known future reset is needed for a forecast.",
+ "outlookStaleHint": "This balance is old or its window has expired. A fresh provider reading is needed.",
"outlookError": "Could not load quota forecasts. Raw observations are still available below.",
"outlookRetry": "Retry",
"outlookAttention": "Quota pools needing attention: {count}",
"outlookNoWarnings": "No forecast warnings. Pools with insufficient data may still be limited.",
- "outlookHint": "Estimates use recent request traffic and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset. Unknown data stays unknown.",
+ "outlookHint": "Rates count successful requests through this instance only, not usage elsewhere. Forecasts require recent provider balances and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset.",
"outlookRaw": "Raw quota observations"
},
"backups": {
diff --git a/client/src/i18n/locales/pt-BR.json b/client/src/i18n/locales/pt-BR.json
index 857f5f1e..503fd62f 100644
--- a/client/src/i18n/locales/pt-BR.json
+++ b/client/src/i18n/locales/pt-BR.json
@@ -625,6 +625,16 @@
"editModelsSync": "Check catalog updates",
"editModelsSyncing": "Checking…",
"editModelsSynced": "Model catalog checked",
+ "outlookUnavailable": "Unavailable",
+ "outlookNoForecasts": "Forecast unavailable. More recent traffic or reliable quota readings are needed.",
+ "outlookCoverage": "Forecasts available for {count} of {total} pools.",
+ "outlookTraffic": "{count} successful requests through this instance in the last {minutes} minutes.",
+ "outlookMinimumTraffic": "An exhaustion forecast needs at least {count} successful requests within {minutes} minutes.",
+ "outlookNotReportedHint": "The provider has not reported a usable request balance and limit. Local usage is shown; remaining quota is unavailable.",
+ "outlookMissingResetHint": "The provider did not report a valid reset time. Remaining quota cannot support an exhaustion forecast.",
+ "outlookConfidenceHint": "This balance is not reliable enough for an exhaustion forecast.",
+ "outlookObserved": "Balance observed: {time}",
+ "outlookUnavailablePools": "Unavailable quota pools ({count})",
"outlookTitle": "Quota outlook",
"outlookInsufficient": "Not enough data",
"outlookLowBalance": "Low balance",
@@ -640,12 +650,12 @@
"outlookRate": "Recent rate",
"outlookRateValue": "{count} req/min",
"outlookRunsOut": "May run out",
- "outlookStaleHint": "Last reported balance only. A recent observation with a known future reset is needed for a forecast.",
+ "outlookStaleHint": "This balance is old or its window has expired. A fresh provider reading is needed.",
"outlookError": "Could not load quota forecasts. Raw observations are still available below.",
"outlookRetry": "Retry",
"outlookAttention": "Quota pools needing attention: {count}",
"outlookNoWarnings": "No forecast warnings. Pools with insufficient data may still be limited.",
- "outlookHint": "Estimates use recent request traffic and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset. Unknown data stays unknown.",
+ "outlookHint": "Rates count successful requests through this instance only, not usage elsewhere. Forecasts require recent provider balances and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset.",
"outlookRaw": "Raw quota observations"
},
"backups": {
diff --git a/client/src/i18n/locales/pt-PT.json b/client/src/i18n/locales/pt-PT.json
index 1e17ed21..f8753f5c 100644
--- a/client/src/i18n/locales/pt-PT.json
+++ b/client/src/i18n/locales/pt-PT.json
@@ -625,6 +625,16 @@
"editModelsSync": "Check catalog updates",
"editModelsSyncing": "Checking…",
"editModelsSynced": "Model catalog checked",
+ "outlookUnavailable": "Unavailable",
+ "outlookNoForecasts": "Forecast unavailable. More recent traffic or reliable quota readings are needed.",
+ "outlookCoverage": "Forecasts available for {count} of {total} pools.",
+ "outlookTraffic": "{count} successful requests through this instance in the last {minutes} minutes.",
+ "outlookMinimumTraffic": "An exhaustion forecast needs at least {count} successful requests within {minutes} minutes.",
+ "outlookNotReportedHint": "The provider has not reported a usable request balance and limit. Local usage is shown; remaining quota is unavailable.",
+ "outlookMissingResetHint": "The provider did not report a valid reset time. Remaining quota cannot support an exhaustion forecast.",
+ "outlookConfidenceHint": "This balance is not reliable enough for an exhaustion forecast.",
+ "outlookObserved": "Balance observed: {time}",
+ "outlookUnavailablePools": "Unavailable quota pools ({count})",
"outlookTitle": "Quota outlook",
"outlookInsufficient": "Not enough data",
"outlookLowBalance": "Low balance",
@@ -640,12 +650,12 @@
"outlookRate": "Recent rate",
"outlookRateValue": "{count} req/min",
"outlookRunsOut": "May run out",
- "outlookStaleHint": "Last reported balance only. A recent observation with a known future reset is needed for a forecast.",
+ "outlookStaleHint": "This balance is old or its window has expired. A fresh provider reading is needed.",
"outlookError": "Could not load quota forecasts. Raw observations are still available below.",
"outlookRetry": "Retry",
"outlookAttention": "Quota pools needing attention: {count}",
"outlookNoWarnings": "No forecast warnings. Pools with insufficient data may still be limited.",
- "outlookHint": "Estimates use recent request traffic and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset. Unknown data stays unknown.",
+ "outlookHint": "Rates count successful requests through this instance only, not usage elsewhere. Forecasts require recent provider balances and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset.",
"outlookRaw": "Raw quota observations"
},
"backups": {
diff --git a/client/src/i18n/locales/ro.json b/client/src/i18n/locales/ro.json
index f58f4e02..ab9532ed 100644
--- a/client/src/i18n/locales/ro.json
+++ b/client/src/i18n/locales/ro.json
@@ -625,6 +625,16 @@
"editModelsSync": "Check catalog updates",
"editModelsSyncing": "Checking…",
"editModelsSynced": "Model catalog checked",
+ "outlookUnavailable": "Unavailable",
+ "outlookNoForecasts": "Forecast unavailable. More recent traffic or reliable quota readings are needed.",
+ "outlookCoverage": "Forecasts available for {count} of {total} pools.",
+ "outlookTraffic": "{count} successful requests through this instance in the last {minutes} minutes.",
+ "outlookMinimumTraffic": "An exhaustion forecast needs at least {count} successful requests within {minutes} minutes.",
+ "outlookNotReportedHint": "The provider has not reported a usable request balance and limit. Local usage is shown; remaining quota is unavailable.",
+ "outlookMissingResetHint": "The provider did not report a valid reset time. Remaining quota cannot support an exhaustion forecast.",
+ "outlookConfidenceHint": "This balance is not reliable enough for an exhaustion forecast.",
+ "outlookObserved": "Balance observed: {time}",
+ "outlookUnavailablePools": "Unavailable quota pools ({count})",
"outlookTitle": "Quota outlook",
"outlookInsufficient": "Not enough data",
"outlookLowBalance": "Low balance",
@@ -640,12 +650,12 @@
"outlookRate": "Recent rate",
"outlookRateValue": "{count} req/min",
"outlookRunsOut": "May run out",
- "outlookStaleHint": "Last reported balance only. A recent observation with a known future reset is needed for a forecast.",
+ "outlookStaleHint": "This balance is old or its window has expired. A fresh provider reading is needed.",
"outlookError": "Could not load quota forecasts. Raw observations are still available below.",
"outlookRetry": "Retry",
"outlookAttention": "Quota pools needing attention: {count}",
"outlookNoWarnings": "No forecast warnings. Pools with insufficient data may still be limited.",
- "outlookHint": "Estimates use recent request traffic and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset. Unknown data stays unknown.",
+ "outlookHint": "Rates count successful requests through this instance only, not usage elsewhere. Forecasts require recent provider balances and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset.",
"outlookRaw": "Raw quota observations"
},
"backups": {
diff --git a/client/src/i18n/locales/ru.json b/client/src/i18n/locales/ru.json
index 65e568b8..70f9d9d2 100644
--- a/client/src/i18n/locales/ru.json
+++ b/client/src/i18n/locales/ru.json
@@ -625,6 +625,16 @@
"editModelsSync": "Проверить обновления каталога",
"editModelsSyncing": "Проверка…",
"editModelsSynced": "Каталог моделей проверен",
+ "outlookUnavailable": "Unavailable",
+ "outlookNoForecasts": "Forecast unavailable. More recent traffic or reliable quota readings are needed.",
+ "outlookCoverage": "Forecasts available for {count} of {total} pools.",
+ "outlookTraffic": "{count} successful requests through this instance in the last {minutes} minutes.",
+ "outlookMinimumTraffic": "An exhaustion forecast needs at least {count} successful requests within {minutes} minutes.",
+ "outlookNotReportedHint": "The provider has not reported a usable request balance and limit. Local usage is shown; remaining quota is unavailable.",
+ "outlookMissingResetHint": "The provider did not report a valid reset time. Remaining quota cannot support an exhaustion forecast.",
+ "outlookConfidenceHint": "This balance is not reliable enough for an exhaustion forecast.",
+ "outlookObserved": "Balance observed: {time}",
+ "outlookUnavailablePools": "Unavailable quota pools ({count})",
"outlookTitle": "Quota outlook",
"outlookInsufficient": "Not enough data",
"outlookLowBalance": "Low balance",
@@ -640,12 +650,12 @@
"outlookRate": "Recent rate",
"outlookRateValue": "{count} req/min",
"outlookRunsOut": "May run out",
- "outlookStaleHint": "Last reported balance only. A recent observation with a known future reset is needed for a forecast.",
+ "outlookStaleHint": "This balance is old or its window has expired. A fresh provider reading is needed.",
"outlookError": "Could not load quota forecasts. Raw observations are still available below.",
"outlookRetry": "Retry",
"outlookAttention": "Quota pools needing attention: {count}",
"outlookNoWarnings": "No forecast warnings. Pools with insufficient data may still be limited.",
- "outlookHint": "Estimates use recent request traffic and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset. Unknown data stays unknown.",
+ "outlookHint": "Rates count successful requests through this instance only, not usage elsewhere. Forecasts require recent provider balances and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset.",
"outlookRaw": "Raw quota observations"
},
"backups": {
diff --git a/client/src/i18n/locales/si.json b/client/src/i18n/locales/si.json
index db3db34a..39f85d24 100644
--- a/client/src/i18n/locales/si.json
+++ b/client/src/i18n/locales/si.json
@@ -625,6 +625,16 @@
"editModelsSync": "Check catalog updates",
"editModelsSyncing": "Checking…",
"editModelsSynced": "Model catalog checked",
+ "outlookUnavailable": "Unavailable",
+ "outlookNoForecasts": "Forecast unavailable. More recent traffic or reliable quota readings are needed.",
+ "outlookCoverage": "Forecasts available for {count} of {total} pools.",
+ "outlookTraffic": "{count} successful requests through this instance in the last {minutes} minutes.",
+ "outlookMinimumTraffic": "An exhaustion forecast needs at least {count} successful requests within {minutes} minutes.",
+ "outlookNotReportedHint": "The provider has not reported a usable request balance and limit. Local usage is shown; remaining quota is unavailable.",
+ "outlookMissingResetHint": "The provider did not report a valid reset time. Remaining quota cannot support an exhaustion forecast.",
+ "outlookConfidenceHint": "This balance is not reliable enough for an exhaustion forecast.",
+ "outlookObserved": "Balance observed: {time}",
+ "outlookUnavailablePools": "Unavailable quota pools ({count})",
"outlookTitle": "Quota outlook",
"outlookInsufficient": "Not enough data",
"outlookLowBalance": "Low balance",
@@ -640,12 +650,12 @@
"outlookRate": "Recent rate",
"outlookRateValue": "{count} req/min",
"outlookRunsOut": "May run out",
- "outlookStaleHint": "Last reported balance only. A recent observation with a known future reset is needed for a forecast.",
+ "outlookStaleHint": "This balance is old or its window has expired. A fresh provider reading is needed.",
"outlookError": "Could not load quota forecasts. Raw observations are still available below.",
"outlookRetry": "Retry",
"outlookAttention": "Quota pools needing attention: {count}",
"outlookNoWarnings": "No forecast warnings. Pools with insufficient data may still be limited.",
- "outlookHint": "Estimates use recent request traffic and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset. Unknown data stays unknown.",
+ "outlookHint": "Rates count successful requests through this instance only, not usage elsewhere. Forecasts require recent provider balances and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset.",
"outlookRaw": "Raw quota observations"
},
"backups": {
diff --git a/client/src/i18n/locales/sk.json b/client/src/i18n/locales/sk.json
index 56ad5395..ac693ca2 100644
--- a/client/src/i18n/locales/sk.json
+++ b/client/src/i18n/locales/sk.json
@@ -625,6 +625,16 @@
"editModelsSync": "Check catalog updates",
"editModelsSyncing": "Checking…",
"editModelsSynced": "Model catalog checked",
+ "outlookUnavailable": "Unavailable",
+ "outlookNoForecasts": "Forecast unavailable. More recent traffic or reliable quota readings are needed.",
+ "outlookCoverage": "Forecasts available for {count} of {total} pools.",
+ "outlookTraffic": "{count} successful requests through this instance in the last {minutes} minutes.",
+ "outlookMinimumTraffic": "An exhaustion forecast needs at least {count} successful requests within {minutes} minutes.",
+ "outlookNotReportedHint": "The provider has not reported a usable request balance and limit. Local usage is shown; remaining quota is unavailable.",
+ "outlookMissingResetHint": "The provider did not report a valid reset time. Remaining quota cannot support an exhaustion forecast.",
+ "outlookConfidenceHint": "This balance is not reliable enough for an exhaustion forecast.",
+ "outlookObserved": "Balance observed: {time}",
+ "outlookUnavailablePools": "Unavailable quota pools ({count})",
"outlookTitle": "Quota outlook",
"outlookInsufficient": "Not enough data",
"outlookLowBalance": "Low balance",
@@ -640,12 +650,12 @@
"outlookRate": "Recent rate",
"outlookRateValue": "{count} req/min",
"outlookRunsOut": "May run out",
- "outlookStaleHint": "Last reported balance only. A recent observation with a known future reset is needed for a forecast.",
+ "outlookStaleHint": "This balance is old or its window has expired. A fresh provider reading is needed.",
"outlookError": "Could not load quota forecasts. Raw observations are still available below.",
"outlookRetry": "Retry",
"outlookAttention": "Quota pools needing attention: {count}",
"outlookNoWarnings": "No forecast warnings. Pools with insufficient data may still be limited.",
- "outlookHint": "Estimates use recent request traffic and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset. Unknown data stays unknown.",
+ "outlookHint": "Rates count successful requests through this instance only, not usage elsewhere. Forecasts require recent provider balances and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset.",
"outlookRaw": "Raw quota observations"
},
"backups": {
diff --git a/client/src/i18n/locales/sr.json b/client/src/i18n/locales/sr.json
index b918747a..1b98ded9 100644
--- a/client/src/i18n/locales/sr.json
+++ b/client/src/i18n/locales/sr.json
@@ -625,6 +625,16 @@
"editModelsSync": "Check catalog updates",
"editModelsSyncing": "Checking…",
"editModelsSynced": "Model catalog checked",
+ "outlookUnavailable": "Unavailable",
+ "outlookNoForecasts": "Forecast unavailable. More recent traffic or reliable quota readings are needed.",
+ "outlookCoverage": "Forecasts available for {count} of {total} pools.",
+ "outlookTraffic": "{count} successful requests through this instance in the last {minutes} minutes.",
+ "outlookMinimumTraffic": "An exhaustion forecast needs at least {count} successful requests within {minutes} minutes.",
+ "outlookNotReportedHint": "The provider has not reported a usable request balance and limit. Local usage is shown; remaining quota is unavailable.",
+ "outlookMissingResetHint": "The provider did not report a valid reset time. Remaining quota cannot support an exhaustion forecast.",
+ "outlookConfidenceHint": "This balance is not reliable enough for an exhaustion forecast.",
+ "outlookObserved": "Balance observed: {time}",
+ "outlookUnavailablePools": "Unavailable quota pools ({count})",
"outlookTitle": "Quota outlook",
"outlookInsufficient": "Not enough data",
"outlookLowBalance": "Low balance",
@@ -640,12 +650,12 @@
"outlookRate": "Recent rate",
"outlookRateValue": "{count} req/min",
"outlookRunsOut": "May run out",
- "outlookStaleHint": "Last reported balance only. A recent observation with a known future reset is needed for a forecast.",
+ "outlookStaleHint": "This balance is old or its window has expired. A fresh provider reading is needed.",
"outlookError": "Could not load quota forecasts. Raw observations are still available below.",
"outlookRetry": "Retry",
"outlookAttention": "Quota pools needing attention: {count}",
"outlookNoWarnings": "No forecast warnings. Pools with insufficient data may still be limited.",
- "outlookHint": "Estimates use recent request traffic and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset. Unknown data stays unknown.",
+ "outlookHint": "Rates count successful requests through this instance only, not usage elsewhere. Forecasts require recent provider balances and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset.",
"outlookRaw": "Raw quota observations"
},
"backups": {
diff --git a/client/src/i18n/locales/sv.json b/client/src/i18n/locales/sv.json
index 9fc779be..d0ffc13e 100644
--- a/client/src/i18n/locales/sv.json
+++ b/client/src/i18n/locales/sv.json
@@ -625,6 +625,16 @@
"editModelsSync": "Check catalog updates",
"editModelsSyncing": "Checking…",
"editModelsSynced": "Model catalog checked",
+ "outlookUnavailable": "Unavailable",
+ "outlookNoForecasts": "Forecast unavailable. More recent traffic or reliable quota readings are needed.",
+ "outlookCoverage": "Forecasts available for {count} of {total} pools.",
+ "outlookTraffic": "{count} successful requests through this instance in the last {minutes} minutes.",
+ "outlookMinimumTraffic": "An exhaustion forecast needs at least {count} successful requests within {minutes} minutes.",
+ "outlookNotReportedHint": "The provider has not reported a usable request balance and limit. Local usage is shown; remaining quota is unavailable.",
+ "outlookMissingResetHint": "The provider did not report a valid reset time. Remaining quota cannot support an exhaustion forecast.",
+ "outlookConfidenceHint": "This balance is not reliable enough for an exhaustion forecast.",
+ "outlookObserved": "Balance observed: {time}",
+ "outlookUnavailablePools": "Unavailable quota pools ({count})",
"outlookTitle": "Quota outlook",
"outlookInsufficient": "Not enough data",
"outlookLowBalance": "Low balance",
@@ -640,12 +650,12 @@
"outlookRate": "Recent rate",
"outlookRateValue": "{count} req/min",
"outlookRunsOut": "May run out",
- "outlookStaleHint": "Last reported balance only. A recent observation with a known future reset is needed for a forecast.",
+ "outlookStaleHint": "This balance is old or its window has expired. A fresh provider reading is needed.",
"outlookError": "Could not load quota forecasts. Raw observations are still available below.",
"outlookRetry": "Retry",
"outlookAttention": "Quota pools needing attention: {count}",
"outlookNoWarnings": "No forecast warnings. Pools with insufficient data may still be limited.",
- "outlookHint": "Estimates use recent request traffic and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset. Unknown data stays unknown.",
+ "outlookHint": "Rates count successful requests through this instance only, not usage elsewhere. Forecasts require recent provider balances and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset.",
"outlookRaw": "Raw quota observations"
},
"backups": {
diff --git a/client/src/i18n/locales/sw.json b/client/src/i18n/locales/sw.json
index 1a93f15d..294e0349 100644
--- a/client/src/i18n/locales/sw.json
+++ b/client/src/i18n/locales/sw.json
@@ -625,6 +625,16 @@
"editModelsSync": "Check catalog updates",
"editModelsSyncing": "Checking…",
"editModelsSynced": "Model catalog checked",
+ "outlookUnavailable": "Unavailable",
+ "outlookNoForecasts": "Forecast unavailable. More recent traffic or reliable quota readings are needed.",
+ "outlookCoverage": "Forecasts available for {count} of {total} pools.",
+ "outlookTraffic": "{count} successful requests through this instance in the last {minutes} minutes.",
+ "outlookMinimumTraffic": "An exhaustion forecast needs at least {count} successful requests within {minutes} minutes.",
+ "outlookNotReportedHint": "The provider has not reported a usable request balance and limit. Local usage is shown; remaining quota is unavailable.",
+ "outlookMissingResetHint": "The provider did not report a valid reset time. Remaining quota cannot support an exhaustion forecast.",
+ "outlookConfidenceHint": "This balance is not reliable enough for an exhaustion forecast.",
+ "outlookObserved": "Balance observed: {time}",
+ "outlookUnavailablePools": "Unavailable quota pools ({count})",
"outlookTitle": "Quota outlook",
"outlookInsufficient": "Not enough data",
"outlookLowBalance": "Low balance",
@@ -640,12 +650,12 @@
"outlookRate": "Recent rate",
"outlookRateValue": "{count} req/min",
"outlookRunsOut": "May run out",
- "outlookStaleHint": "Last reported balance only. A recent observation with a known future reset is needed for a forecast.",
+ "outlookStaleHint": "This balance is old or its window has expired. A fresh provider reading is needed.",
"outlookError": "Could not load quota forecasts. Raw observations are still available below.",
"outlookRetry": "Retry",
"outlookAttention": "Quota pools needing attention: {count}",
"outlookNoWarnings": "No forecast warnings. Pools with insufficient data may still be limited.",
- "outlookHint": "Estimates use recent request traffic and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset. Unknown data stays unknown.",
+ "outlookHint": "Rates count successful requests through this instance only, not usage elsewhere. Forecasts require recent provider balances and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset.",
"outlookRaw": "Raw quota observations"
},
"backups": {
diff --git a/client/src/i18n/locales/ta.json b/client/src/i18n/locales/ta.json
index 91b14812..c46453a1 100644
--- a/client/src/i18n/locales/ta.json
+++ b/client/src/i18n/locales/ta.json
@@ -625,6 +625,16 @@
"editModelsSync": "Check catalog updates",
"editModelsSyncing": "Checking…",
"editModelsSynced": "Model catalog checked",
+ "outlookUnavailable": "Unavailable",
+ "outlookNoForecasts": "Forecast unavailable. More recent traffic or reliable quota readings are needed.",
+ "outlookCoverage": "Forecasts available for {count} of {total} pools.",
+ "outlookTraffic": "{count} successful requests through this instance in the last {minutes} minutes.",
+ "outlookMinimumTraffic": "An exhaustion forecast needs at least {count} successful requests within {minutes} minutes.",
+ "outlookNotReportedHint": "The provider has not reported a usable request balance and limit. Local usage is shown; remaining quota is unavailable.",
+ "outlookMissingResetHint": "The provider did not report a valid reset time. Remaining quota cannot support an exhaustion forecast.",
+ "outlookConfidenceHint": "This balance is not reliable enough for an exhaustion forecast.",
+ "outlookObserved": "Balance observed: {time}",
+ "outlookUnavailablePools": "Unavailable quota pools ({count})",
"outlookTitle": "Quota outlook",
"outlookInsufficient": "Not enough data",
"outlookLowBalance": "Low balance",
@@ -640,12 +650,12 @@
"outlookRate": "Recent rate",
"outlookRateValue": "{count} req/min",
"outlookRunsOut": "May run out",
- "outlookStaleHint": "Last reported balance only. A recent observation with a known future reset is needed for a forecast.",
+ "outlookStaleHint": "This balance is old or its window has expired. A fresh provider reading is needed.",
"outlookError": "Could not load quota forecasts. Raw observations are still available below.",
"outlookRetry": "Retry",
"outlookAttention": "Quota pools needing attention: {count}",
"outlookNoWarnings": "No forecast warnings. Pools with insufficient data may still be limited.",
- "outlookHint": "Estimates use recent request traffic and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset. Unknown data stays unknown.",
+ "outlookHint": "Rates count successful requests through this instance only, not usage elsewhere. Forecasts require recent provider balances and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset.",
"outlookRaw": "Raw quota observations"
},
"backups": {
diff --git a/client/src/i18n/locales/te.json b/client/src/i18n/locales/te.json
index 9c604dc2..31f471d3 100644
--- a/client/src/i18n/locales/te.json
+++ b/client/src/i18n/locales/te.json
@@ -625,6 +625,16 @@
"editModelsSync": "Check catalog updates",
"editModelsSyncing": "Checking…",
"editModelsSynced": "Model catalog checked",
+ "outlookUnavailable": "Unavailable",
+ "outlookNoForecasts": "Forecast unavailable. More recent traffic or reliable quota readings are needed.",
+ "outlookCoverage": "Forecasts available for {count} of {total} pools.",
+ "outlookTraffic": "{count} successful requests through this instance in the last {minutes} minutes.",
+ "outlookMinimumTraffic": "An exhaustion forecast needs at least {count} successful requests within {minutes} minutes.",
+ "outlookNotReportedHint": "The provider has not reported a usable request balance and limit. Local usage is shown; remaining quota is unavailable.",
+ "outlookMissingResetHint": "The provider did not report a valid reset time. Remaining quota cannot support an exhaustion forecast.",
+ "outlookConfidenceHint": "This balance is not reliable enough for an exhaustion forecast.",
+ "outlookObserved": "Balance observed: {time}",
+ "outlookUnavailablePools": "Unavailable quota pools ({count})",
"outlookTitle": "Quota outlook",
"outlookInsufficient": "Not enough data",
"outlookLowBalance": "Low balance",
@@ -640,12 +650,12 @@
"outlookRate": "Recent rate",
"outlookRateValue": "{count} req/min",
"outlookRunsOut": "May run out",
- "outlookStaleHint": "Last reported balance only. A recent observation with a known future reset is needed for a forecast.",
+ "outlookStaleHint": "This balance is old or its window has expired. A fresh provider reading is needed.",
"outlookError": "Could not load quota forecasts. Raw observations are still available below.",
"outlookRetry": "Retry",
"outlookAttention": "Quota pools needing attention: {count}",
"outlookNoWarnings": "No forecast warnings. Pools with insufficient data may still be limited.",
- "outlookHint": "Estimates use recent request traffic and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset. Unknown data stays unknown.",
+ "outlookHint": "Rates count successful requests through this instance only, not usage elsewhere. Forecasts require recent provider balances and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset.",
"outlookRaw": "Raw quota observations"
},
"backups": {
diff --git a/client/src/i18n/locales/th.json b/client/src/i18n/locales/th.json
index 8a7db9df..3460491b 100644
--- a/client/src/i18n/locales/th.json
+++ b/client/src/i18n/locales/th.json
@@ -625,6 +625,16 @@
"editModelsSync": "Check catalog updates",
"editModelsSyncing": "Checking…",
"editModelsSynced": "Model catalog checked",
+ "outlookUnavailable": "Unavailable",
+ "outlookNoForecasts": "Forecast unavailable. More recent traffic or reliable quota readings are needed.",
+ "outlookCoverage": "Forecasts available for {count} of {total} pools.",
+ "outlookTraffic": "{count} successful requests through this instance in the last {minutes} minutes.",
+ "outlookMinimumTraffic": "An exhaustion forecast needs at least {count} successful requests within {minutes} minutes.",
+ "outlookNotReportedHint": "The provider has not reported a usable request balance and limit. Local usage is shown; remaining quota is unavailable.",
+ "outlookMissingResetHint": "The provider did not report a valid reset time. Remaining quota cannot support an exhaustion forecast.",
+ "outlookConfidenceHint": "This balance is not reliable enough for an exhaustion forecast.",
+ "outlookObserved": "Balance observed: {time}",
+ "outlookUnavailablePools": "Unavailable quota pools ({count})",
"outlookTitle": "Quota outlook",
"outlookInsufficient": "Not enough data",
"outlookLowBalance": "Low balance",
@@ -640,12 +650,12 @@
"outlookRate": "Recent rate",
"outlookRateValue": "{count} req/min",
"outlookRunsOut": "May run out",
- "outlookStaleHint": "Last reported balance only. A recent observation with a known future reset is needed for a forecast.",
+ "outlookStaleHint": "This balance is old or its window has expired. A fresh provider reading is needed.",
"outlookError": "Could not load quota forecasts. Raw observations are still available below.",
"outlookRetry": "Retry",
"outlookAttention": "Quota pools needing attention: {count}",
"outlookNoWarnings": "No forecast warnings. Pools with insufficient data may still be limited.",
- "outlookHint": "Estimates use recent request traffic and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset. Unknown data stays unknown.",
+ "outlookHint": "Rates count successful requests through this instance only, not usage elsewhere. Forecasts require recent provider balances and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset.",
"outlookRaw": "Raw quota observations"
},
"backups": {
diff --git a/client/src/i18n/locales/tl.json b/client/src/i18n/locales/tl.json
index b86ce1ba..ff53dde0 100644
--- a/client/src/i18n/locales/tl.json
+++ b/client/src/i18n/locales/tl.json
@@ -625,6 +625,16 @@
"editModelsSync": "Check catalog updates",
"editModelsSyncing": "Checking…",
"editModelsSynced": "Model catalog checked",
+ "outlookUnavailable": "Unavailable",
+ "outlookNoForecasts": "Forecast unavailable. More recent traffic or reliable quota readings are needed.",
+ "outlookCoverage": "Forecasts available for {count} of {total} pools.",
+ "outlookTraffic": "{count} successful requests through this instance in the last {minutes} minutes.",
+ "outlookMinimumTraffic": "An exhaustion forecast needs at least {count} successful requests within {minutes} minutes.",
+ "outlookNotReportedHint": "The provider has not reported a usable request balance and limit. Local usage is shown; remaining quota is unavailable.",
+ "outlookMissingResetHint": "The provider did not report a valid reset time. Remaining quota cannot support an exhaustion forecast.",
+ "outlookConfidenceHint": "This balance is not reliable enough for an exhaustion forecast.",
+ "outlookObserved": "Balance observed: {time}",
+ "outlookUnavailablePools": "Unavailable quota pools ({count})",
"outlookTitle": "Quota outlook",
"outlookInsufficient": "Not enough data",
"outlookLowBalance": "Low balance",
@@ -640,12 +650,12 @@
"outlookRate": "Recent rate",
"outlookRateValue": "{count} req/min",
"outlookRunsOut": "May run out",
- "outlookStaleHint": "Last reported balance only. A recent observation with a known future reset is needed for a forecast.",
+ "outlookStaleHint": "This balance is old or its window has expired. A fresh provider reading is needed.",
"outlookError": "Could not load quota forecasts. Raw observations are still available below.",
"outlookRetry": "Retry",
"outlookAttention": "Quota pools needing attention: {count}",
"outlookNoWarnings": "No forecast warnings. Pools with insufficient data may still be limited.",
- "outlookHint": "Estimates use recent request traffic and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset. Unknown data stays unknown.",
+ "outlookHint": "Rates count successful requests through this instance only, not usage elsewhere. Forecasts require recent provider balances and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset.",
"outlookRaw": "Raw quota observations"
},
"backups": {
diff --git a/client/src/i18n/locales/tr.json b/client/src/i18n/locales/tr.json
index dbbb748a..e2c15074 100644
--- a/client/src/i18n/locales/tr.json
+++ b/client/src/i18n/locales/tr.json
@@ -625,6 +625,16 @@
"editModelsSync": "Check catalog updates",
"editModelsSyncing": "Checking…",
"editModelsSynced": "Model catalog checked",
+ "outlookUnavailable": "Unavailable",
+ "outlookNoForecasts": "Forecast unavailable. More recent traffic or reliable quota readings are needed.",
+ "outlookCoverage": "Forecasts available for {count} of {total} pools.",
+ "outlookTraffic": "{count} successful requests through this instance in the last {minutes} minutes.",
+ "outlookMinimumTraffic": "An exhaustion forecast needs at least {count} successful requests within {minutes} minutes.",
+ "outlookNotReportedHint": "The provider has not reported a usable request balance and limit. Local usage is shown; remaining quota is unavailable.",
+ "outlookMissingResetHint": "The provider did not report a valid reset time. Remaining quota cannot support an exhaustion forecast.",
+ "outlookConfidenceHint": "This balance is not reliable enough for an exhaustion forecast.",
+ "outlookObserved": "Balance observed: {time}",
+ "outlookUnavailablePools": "Unavailable quota pools ({count})",
"outlookTitle": "Quota outlook",
"outlookInsufficient": "Not enough data",
"outlookLowBalance": "Low balance",
@@ -640,12 +650,12 @@
"outlookRate": "Recent rate",
"outlookRateValue": "{count} req/min",
"outlookRunsOut": "May run out",
- "outlookStaleHint": "Last reported balance only. A recent observation with a known future reset is needed for a forecast.",
+ "outlookStaleHint": "This balance is old or its window has expired. A fresh provider reading is needed.",
"outlookError": "Could not load quota forecasts. Raw observations are still available below.",
"outlookRetry": "Retry",
"outlookAttention": "Quota pools needing attention: {count}",
"outlookNoWarnings": "No forecast warnings. Pools with insufficient data may still be limited.",
- "outlookHint": "Estimates use recent request traffic and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset. Unknown data stays unknown.",
+ "outlookHint": "Rates count successful requests through this instance only, not usage elsewhere. Forecasts require recent provider balances and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset.",
"outlookRaw": "Raw quota observations"
},
"backups": {
diff --git a/client/src/i18n/locales/uk.json b/client/src/i18n/locales/uk.json
index 15c7f001..7ece1556 100644
--- a/client/src/i18n/locales/uk.json
+++ b/client/src/i18n/locales/uk.json
@@ -625,6 +625,16 @@
"editModelsSync": "Check catalog updates",
"editModelsSyncing": "Checking…",
"editModelsSynced": "Model catalog checked",
+ "outlookUnavailable": "Unavailable",
+ "outlookNoForecasts": "Forecast unavailable. More recent traffic or reliable quota readings are needed.",
+ "outlookCoverage": "Forecasts available for {count} of {total} pools.",
+ "outlookTraffic": "{count} successful requests through this instance in the last {minutes} minutes.",
+ "outlookMinimumTraffic": "An exhaustion forecast needs at least {count} successful requests within {minutes} minutes.",
+ "outlookNotReportedHint": "The provider has not reported a usable request balance and limit. Local usage is shown; remaining quota is unavailable.",
+ "outlookMissingResetHint": "The provider did not report a valid reset time. Remaining quota cannot support an exhaustion forecast.",
+ "outlookConfidenceHint": "This balance is not reliable enough for an exhaustion forecast.",
+ "outlookObserved": "Balance observed: {time}",
+ "outlookUnavailablePools": "Unavailable quota pools ({count})",
"outlookTitle": "Quota outlook",
"outlookInsufficient": "Not enough data",
"outlookLowBalance": "Low balance",
@@ -640,12 +650,12 @@
"outlookRate": "Recent rate",
"outlookRateValue": "{count} req/min",
"outlookRunsOut": "May run out",
- "outlookStaleHint": "Last reported balance only. A recent observation with a known future reset is needed for a forecast.",
+ "outlookStaleHint": "This balance is old or its window has expired. A fresh provider reading is needed.",
"outlookError": "Could not load quota forecasts. Raw observations are still available below.",
"outlookRetry": "Retry",
"outlookAttention": "Quota pools needing attention: {count}",
"outlookNoWarnings": "No forecast warnings. Pools with insufficient data may still be limited.",
- "outlookHint": "Estimates use recent request traffic and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset. Unknown data stays unknown.",
+ "outlookHint": "Rates count successful requests through this instance only, not usage elsewhere. Forecasts require recent provider balances and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset.",
"outlookRaw": "Raw quota observations"
},
"backups": {
diff --git a/client/src/i18n/locales/ur.json b/client/src/i18n/locales/ur.json
index 395ae9cb..6d636de1 100644
--- a/client/src/i18n/locales/ur.json
+++ b/client/src/i18n/locales/ur.json
@@ -625,6 +625,16 @@
"editModelsSync": "Check catalog updates",
"editModelsSyncing": "Checking…",
"editModelsSynced": "Model catalog checked",
+ "outlookUnavailable": "Unavailable",
+ "outlookNoForecasts": "Forecast unavailable. More recent traffic or reliable quota readings are needed.",
+ "outlookCoverage": "Forecasts available for {count} of {total} pools.",
+ "outlookTraffic": "{count} successful requests through this instance in the last {minutes} minutes.",
+ "outlookMinimumTraffic": "An exhaustion forecast needs at least {count} successful requests within {minutes} minutes.",
+ "outlookNotReportedHint": "The provider has not reported a usable request balance and limit. Local usage is shown; remaining quota is unavailable.",
+ "outlookMissingResetHint": "The provider did not report a valid reset time. Remaining quota cannot support an exhaustion forecast.",
+ "outlookConfidenceHint": "This balance is not reliable enough for an exhaustion forecast.",
+ "outlookObserved": "Balance observed: {time}",
+ "outlookUnavailablePools": "Unavailable quota pools ({count})",
"outlookTitle": "Quota outlook",
"outlookInsufficient": "Not enough data",
"outlookLowBalance": "Low balance",
@@ -640,12 +650,12 @@
"outlookRate": "Recent rate",
"outlookRateValue": "{count} req/min",
"outlookRunsOut": "May run out",
- "outlookStaleHint": "Last reported balance only. A recent observation with a known future reset is needed for a forecast.",
+ "outlookStaleHint": "This balance is old or its window has expired. A fresh provider reading is needed.",
"outlookError": "Could not load quota forecasts. Raw observations are still available below.",
"outlookRetry": "Retry",
"outlookAttention": "Quota pools needing attention: {count}",
"outlookNoWarnings": "No forecast warnings. Pools with insufficient data may still be limited.",
- "outlookHint": "Estimates use recent request traffic and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset. Unknown data stays unknown.",
+ "outlookHint": "Rates count successful requests through this instance only, not usage elsewhere. Forecasts require recent provider balances and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset.",
"outlookRaw": "Raw quota observations"
},
"backups": {
diff --git a/client/src/i18n/locales/uz.json b/client/src/i18n/locales/uz.json
index 1ebeaa94..ea5ce359 100644
--- a/client/src/i18n/locales/uz.json
+++ b/client/src/i18n/locales/uz.json
@@ -625,6 +625,16 @@
"editModelsSync": "Check catalog updates",
"editModelsSyncing": "Checking…",
"editModelsSynced": "Model catalog checked",
+ "outlookUnavailable": "Unavailable",
+ "outlookNoForecasts": "Forecast unavailable. More recent traffic or reliable quota readings are needed.",
+ "outlookCoverage": "Forecasts available for {count} of {total} pools.",
+ "outlookTraffic": "{count} successful requests through this instance in the last {minutes} minutes.",
+ "outlookMinimumTraffic": "An exhaustion forecast needs at least {count} successful requests within {minutes} minutes.",
+ "outlookNotReportedHint": "The provider has not reported a usable request balance and limit. Local usage is shown; remaining quota is unavailable.",
+ "outlookMissingResetHint": "The provider did not report a valid reset time. Remaining quota cannot support an exhaustion forecast.",
+ "outlookConfidenceHint": "This balance is not reliable enough for an exhaustion forecast.",
+ "outlookObserved": "Balance observed: {time}",
+ "outlookUnavailablePools": "Unavailable quota pools ({count})",
"outlookTitle": "Quota outlook",
"outlookInsufficient": "Not enough data",
"outlookLowBalance": "Low balance",
@@ -640,12 +650,12 @@
"outlookRate": "Recent rate",
"outlookRateValue": "{count} req/min",
"outlookRunsOut": "May run out",
- "outlookStaleHint": "Last reported balance only. A recent observation with a known future reset is needed for a forecast.",
+ "outlookStaleHint": "This balance is old or its window has expired. A fresh provider reading is needed.",
"outlookError": "Could not load quota forecasts. Raw observations are still available below.",
"outlookRetry": "Retry",
"outlookAttention": "Quota pools needing attention: {count}",
"outlookNoWarnings": "No forecast warnings. Pools with insufficient data may still be limited.",
- "outlookHint": "Estimates use recent request traffic and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset. Unknown data stays unknown.",
+ "outlookHint": "Rates count successful requests through this instance only, not usage elsewhere. Forecasts require recent provider balances and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset.",
"outlookRaw": "Raw quota observations"
},
"backups": {
diff --git a/client/src/i18n/locales/vi.json b/client/src/i18n/locales/vi.json
index 3e741823..344f928b 100644
--- a/client/src/i18n/locales/vi.json
+++ b/client/src/i18n/locales/vi.json
@@ -625,6 +625,16 @@
"editModelsSync": "Check catalog updates",
"editModelsSyncing": "Checking…",
"editModelsSynced": "Model catalog checked",
+ "outlookUnavailable": "Unavailable",
+ "outlookNoForecasts": "Forecast unavailable. More recent traffic or reliable quota readings are needed.",
+ "outlookCoverage": "Forecasts available for {count} of {total} pools.",
+ "outlookTraffic": "{count} successful requests through this instance in the last {minutes} minutes.",
+ "outlookMinimumTraffic": "An exhaustion forecast needs at least {count} successful requests within {minutes} minutes.",
+ "outlookNotReportedHint": "The provider has not reported a usable request balance and limit. Local usage is shown; remaining quota is unavailable.",
+ "outlookMissingResetHint": "The provider did not report a valid reset time. Remaining quota cannot support an exhaustion forecast.",
+ "outlookConfidenceHint": "This balance is not reliable enough for an exhaustion forecast.",
+ "outlookObserved": "Balance observed: {time}",
+ "outlookUnavailablePools": "Unavailable quota pools ({count})",
"outlookTitle": "Quota outlook",
"outlookInsufficient": "Not enough data",
"outlookLowBalance": "Low balance",
@@ -640,12 +650,12 @@
"outlookRate": "Recent rate",
"outlookRateValue": "{count} req/min",
"outlookRunsOut": "May run out",
- "outlookStaleHint": "Last reported balance only. A recent observation with a known future reset is needed for a forecast.",
+ "outlookStaleHint": "This balance is old or its window has expired. A fresh provider reading is needed.",
"outlookError": "Could not load quota forecasts. Raw observations are still available below.",
"outlookRetry": "Retry",
"outlookAttention": "Quota pools needing attention: {count}",
"outlookNoWarnings": "No forecast warnings. Pools with insufficient data may still be limited.",
- "outlookHint": "Estimates use recent request traffic and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset. Unknown data stays unknown.",
+ "outlookHint": "Rates count successful requests through this instance only, not usage elsewhere. Forecasts require recent provider balances and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset.",
"outlookRaw": "Raw quota observations"
},
"backups": {
diff --git a/client/src/i18n/locales/yo.json b/client/src/i18n/locales/yo.json
index 901a5cc0..64544197 100644
--- a/client/src/i18n/locales/yo.json
+++ b/client/src/i18n/locales/yo.json
@@ -625,6 +625,16 @@
"editModelsSync": "Check catalog updates",
"editModelsSyncing": "Checking…",
"editModelsSynced": "Model catalog checked",
+ "outlookUnavailable": "Unavailable",
+ "outlookNoForecasts": "Forecast unavailable. More recent traffic or reliable quota readings are needed.",
+ "outlookCoverage": "Forecasts available for {count} of {total} pools.",
+ "outlookTraffic": "{count} successful requests through this instance in the last {minutes} minutes.",
+ "outlookMinimumTraffic": "An exhaustion forecast needs at least {count} successful requests within {minutes} minutes.",
+ "outlookNotReportedHint": "The provider has not reported a usable request balance and limit. Local usage is shown; remaining quota is unavailable.",
+ "outlookMissingResetHint": "The provider did not report a valid reset time. Remaining quota cannot support an exhaustion forecast.",
+ "outlookConfidenceHint": "This balance is not reliable enough for an exhaustion forecast.",
+ "outlookObserved": "Balance observed: {time}",
+ "outlookUnavailablePools": "Unavailable quota pools ({count})",
"outlookTitle": "Quota outlook",
"outlookInsufficient": "Not enough data",
"outlookLowBalance": "Low balance",
@@ -640,12 +650,12 @@
"outlookRate": "Recent rate",
"outlookRateValue": "{count} req/min",
"outlookRunsOut": "May run out",
- "outlookStaleHint": "Last reported balance only. A recent observation with a known future reset is needed for a forecast.",
+ "outlookStaleHint": "This balance is old or its window has expired. A fresh provider reading is needed.",
"outlookError": "Could not load quota forecasts. Raw observations are still available below.",
"outlookRetry": "Retry",
"outlookAttention": "Quota pools needing attention: {count}",
"outlookNoWarnings": "No forecast warnings. Pools with insufficient data may still be limited.",
- "outlookHint": "Estimates use recent request traffic and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset. Unknown data stays unknown.",
+ "outlookHint": "Rates count successful requests through this instance only, not usage elsewhere. Forecasts require recent provider balances and reported resets. Warnings appear below 20% remaining or when quota may run out within two hours, before reset.",
"outlookRaw": "Raw quota observations"
},
"backups": {
diff --git a/client/src/i18n/locales/zh-CN.json b/client/src/i18n/locales/zh-CN.json
index a00b5e5b..6818c8a0 100644
--- a/client/src/i18n/locales/zh-CN.json
+++ b/client/src/i18n/locales/zh-CN.json
@@ -625,6 +625,16 @@
"bulkDeleteConfirm": "删除 {count} 个?",
"bulkResult": "已更新 {done} 个;失败 {failed} 个。",
"bulkDeleteResult": "已删除 {done} 个;失败 {failed} 个。",
+ "outlookUnavailable": "暂无数据",
+ "outlookNoForecasts": "暂时无法预测。需要近期请求记录或可靠的配额读数。",
+ "outlookCoverage": "{total} 个配额池中有 {count} 个可预测。",
+ "outlookTraffic": "最近 {minutes} 分钟内,此实例成功处理了 {count} 次请求。",
+ "outlookMinimumTraffic": "预测耗尽时间需要在 {minutes} 分钟内至少有 {count} 次成功请求。",
+ "outlookNotReportedHint": "提供方尚未报告可用的请求余额和上限。此处显示本地用量,剩余配额暂无数据。",
+ "outlookMissingResetHint": "提供方未报告有效的重置时间,无法预测配额耗尽时间。",
+ "outlookConfidenceHint": "此余额的可信度不足,无法预测耗尽时间。",
+ "outlookObserved": "余额观测时间:{time}",
+ "outlookUnavailablePools": "暂无预测数据的配额池({count})",
"outlookTitle": "额度预测",
"outlookInsufficient": "数据不足",
"outlookLowBalance": "剩余额度较低",
@@ -640,12 +650,12 @@
"outlookRate": "近期速率",
"outlookRateValue": "每分钟 {count} 次请求",
"outlookRunsOut": "预计耗尽时间",
- "outlookStaleHint": "仅显示上次报告的余额。预测需要近期观测数据以及已知的未来重置时间。",
+ "outlookStaleHint": "此余额已过时或配额窗口已结束,需要提供方返回新的读数。",
"outlookError": "无法加载额度预测。您仍可在下方查看原始观测数据。",
"outlookRetry": "重试",
"outlookAttention": "需要关注的额度池:{count}",
"outlookNoWarnings": "暂无预测预警。数据不足的额度池仍可能受限。",
- "outlookHint": "根据近期请求流量和报告的重置时间进行估算。剩余额度低于 20%,或预计将在两小时内且重置前耗尽时显示预警。未知数据保持未知。",
+ "outlookHint": "速率仅统计经此实例成功处理的请求,不含其他途径的用量。预测需要近期余额和报告的重置时间。剩余配额低于 20%,或预计在重置前的两小时内耗尽时,将显示警告。",
"outlookRaw": "原始额度观测数据"
},
"backups": {
diff --git a/client/src/i18n/locales/zh-TW.json b/client/src/i18n/locales/zh-TW.json
index c75bc6bb..05093e03 100644
--- a/client/src/i18n/locales/zh-TW.json
+++ b/client/src/i18n/locales/zh-TW.json
@@ -625,6 +625,16 @@
"editModelsSync": "檢查目錄更新",
"editModelsSyncing": "檢查中…",
"editModelsSynced": "模型目錄已檢查",
+ "outlookUnavailable": "暫無資料",
+ "outlookNoForecasts": "暫時無法預測。需要近期請求紀錄或可靠的配額讀數。",
+ "outlookCoverage": "{total} 個配額池中有 {count} 個可預測。",
+ "outlookTraffic": "最近 {minutes} 分鐘內,此執行個體成功處理了 {count} 次請求。",
+ "outlookMinimumTraffic": "預測耗盡時間需要在 {minutes} 分鐘內至少有 {count} 次成功請求。",
+ "outlookNotReportedHint": "提供者尚未回報可用的請求餘額和上限。此處顯示本機用量,剩餘配額暫無資料。",
+ "outlookMissingResetHint": "提供者未回報有效的重設時間,無法預測配額耗盡時間。",
+ "outlookConfidenceHint": "此餘額的可信度不足,無法預測耗盡時間。",
+ "outlookObserved": "餘額觀測時間:{time}",
+ "outlookUnavailablePools": "暫無預測資料的配額池({count})",
"outlookTitle": "額度預測",
"outlookInsufficient": "資料不足",
"outlookLowBalance": "剩餘額度偏低",
@@ -640,12 +650,12 @@
"outlookRate": "近期速率",
"outlookRateValue": "每分鐘 {count} 次請求",
"outlookRunsOut": "預計耗盡時間",
- "outlookStaleHint": "僅顯示上次回報的餘額。預測需要近期觀測資料,以及已知的未來重設時間。",
+ "outlookStaleHint": "此餘額已過時或配額視窗已結束,需要提供者傳回新的讀數。",
"outlookError": "無法載入額度預測。您仍可在下方查看原始觀測資料。",
"outlookRetry": "重試",
"outlookAttention": "需要留意的額度池:{count}",
"outlookNoWarnings": "目前沒有預測警示。資料不足的額度池仍可能受限。",
- "outlookHint": "根據近期請求流量及回報的重設時間估算。剩餘額度低於 20%,或預計將在兩小時內且重設前耗盡時顯示警示。未知資料保持未知。",
+ "outlookHint": "速率僅統計經此執行個體成功處理的請求,不含其他途徑的用量。預測需要近期餘額和回報的重設時間。剩餘配額低於 20%,或預計在重設前的兩小時內耗盡時,將顯示警告。",
"outlookRaw": "原始額度觀測資料"
},
"backups": {
diff --git a/server/src/__tests__/db/migrate/roundtrip.test.ts b/server/src/__tests__/db/migrate/roundtrip.test.ts
index afbf8f7b..fdc216bd 100644
--- a/server/src/__tests__/db/migrate/roundtrip.test.ts
+++ b/server/src/__tests__/db/migrate/roundtrip.test.ts
@@ -40,6 +40,7 @@ const MCP_ENABLED_DEFAULT_FILENAME = '20260903_000001_mcp_enabled_default.ts';
const RESPONSE_CACHE_FILENAME = '20260903_000002_response_cache.ts';
const KEY_MONTHLY_BUDGET_FILENAME = '20260904_000001_key_monthly_budget.ts';
const KEY_MONTHLY_USAGE_FILENAME = '20260914_000001_key_monthly_usage.ts';
+const QUOTA_SNAPSHOT_FRESHNESS_FILENAME = '20260915_000001_quota_snapshot_freshness.ts';
interface SchemaRow {
type: string;
@@ -126,6 +127,7 @@ describe('migration round trip', () => {
RESPONSE_CACHE_FILENAME,
KEY_MONTHLY_BUDGET_FILENAME,
KEY_MONTHLY_USAGE_FILENAME,
+ QUOTA_SNAPSHOT_FRESHNESS_FILENAME,
]);
} finally {
db.close();
diff --git a/server/src/__tests__/db/quota-snapshot-freshness.test.ts b/server/src/__tests__/db/quota-snapshot-freshness.test.ts
new file mode 100644
index 00000000..73c08a68
--- /dev/null
+++ b/server/src/__tests__/db/quota-snapshot-freshness.test.ts
@@ -0,0 +1,30 @@
+import { beforeEach, expect, it } from 'vitest';
+import { getDb, initDb } from '../../db/index.js';
+import { up, down } from '../../db/migrations/20260915_000001_quota_snapshot_freshness.js';
+import { recordQuotaObservation } from '../../services/provider-quota.js';
+
+beforeEach(() => { process.env.ENCRYPTION_KEY='0'.repeat(64);initDb(':memory:'); });
+
+it('repairs probe-refreshed balances from the last real measurement, preserving empty probe history', () => {
+ recordQuotaObservation({platform:'groq',keyId:1,limit:100,remaining:20,resetAt:'2026-09-15T13:00:00Z',
+ source:'header',observedAt:'2026-09-15T11:00:00Z'});
+ recordQuotaObservation({platform:'groq',keyId:1,source:'probe',confidence:0.1,observedAt:'2026-09-15T12:00:00Z'});
+ getDb().prepare("UPDATE provider_quota_state SET remaining_value=100,reset_at=NULL,observed_at='2026-09-15 12:00:00',notes='no quota headers exposed'").run();
+ const history=getDb().prepare('SELECT * FROM provider_quota_observations').all();
+ up(getDb());
+ expect(getDb().prepare('SELECT remaining_value,reset_at,observed_at,confidence,notes FROM provider_quota_state').get())
+ .toEqual({remaining_value:20,reset_at:'2026-09-15T13:00:00Z',observed_at:'2026-09-15 11:00:00.000',confidence:1,notes:null});
+ expect(getDb().prepare('SELECT * FROM provider_quota_observations').all()).toEqual(history);
+ const repaired=getDb().prepare('SELECT * FROM provider_quota_state').all();
+ up(getDb());down(getDb());
+ expect(getDb().prepare('SELECT * FROM provider_quota_state').all()).toEqual(repaired);
+});
+
+it('does not retain borrowed confidence or guess the age of a pruned balance', () => {
+ recordQuotaObservation({platform:'groq',keyId:1,remaining:0,source:'error_body',confidence:1});
+ recordQuotaObservation({platform:'cerebras',keyId:2,remaining:50,limit:100,source:'header'});
+ getDb().prepare("DELETE FROM provider_quota_observations WHERE platform='cerebras'").run();
+ up(getDb());
+ expect(getDb().prepare("SELECT confidence FROM provider_quota_state WHERE platform='groq'").get()).toEqual({confidence:0.55});
+ expect(getDb().prepare("SELECT remaining_value,confidence FROM provider_quota_state WHERE platform='cerebras'").get()).toEqual({remaining_value:50,confidence:0});
+});
diff --git a/server/src/__tests__/services/provider-quota.test.ts b/server/src/__tests__/services/provider-quota.test.ts
index f13eb9da..c2f6f0c2 100644
--- a/server/src/__tests__/services/provider-quota.test.ts
+++ b/server/src/__tests__/services/provider-quota.test.ts
@@ -1,4 +1,4 @@
-import { describe, it, expect, beforeAll, beforeEach } from 'vitest';
+import { describe, it, expect, beforeAll, beforeEach, afterEach, vi } from 'vitest';
import { initDb, getDb } from '../../db/index.js';
import {
recordQuotaObservation,
@@ -306,7 +306,7 @@ describe('provider-quota: parse from response headers (shared parseRetryAfterMs)
});
});
-describe('provider-quota: reset_at replenishment on read (#453)', () => {
+describe('provider-quota: reset headroom without overwriting observations', () => {
beforeAll(() => {
process.env.ENCRYPTION_KEY = '0'.repeat(64);
initDb(':memory:');
@@ -320,7 +320,7 @@ describe('provider-quota: reset_at replenishment on read (#453)', () => {
const past = () => new Date(Date.now() - 60 * 60 * 1000).toISOString();
const future = () => new Date(Date.now() + 60 * 60 * 1000).toISOString();
- it('restores remaining to the known limit once reset_at has passed, and persists it', () => {
+ it('displays replenished headroom without rewriting the reported balance', () => {
insertState({ platform: 'groq', keyId: 1, pool: 'groq::account', metric: 'requests', limit: 100, remaining: 0, resetAt: past() });
const states = getQuotaStateForKeys();
@@ -328,10 +328,10 @@ describe('provider-quota: reset_at replenishment on read (#453)', () => {
expect(row!.remaining).toBe(100); // replenished to the limit
expect(row!.resetAt).toBeNull(); // stale reset dropped
- // Persisted so it does not recur (the exhausted 0 is gone from the table).
+ // Forecast readers retain the actual reported zero and its original reset.
const persisted = readState('groq', 1, 'groq::account', 'requests');
- expect(persisted!.remaining).toBe(100);
- expect(persisted!.resetAt).toBeNull();
+ expect(persisted!.remaining).toBe(0);
+ expect(persisted!.resetAt).not.toBeNull();
});
it('clears remaining to unknown when the limit is unknown and reset_at passed', () => {
@@ -343,7 +343,7 @@ describe('provider-quota: reset_at replenishment on read (#453)', () => {
expect(row!.resetAt).toBeNull();
const persisted = readState('ollama', 2, 'ollama::cloud', 'requests');
- expect(persisted!.remaining).toBeNull();
+ expect(persisted!.remaining).toBe(0);
});
it('leaves a still-active window (reset_at in the future) untouched', () => {
@@ -355,3 +355,59 @@ describe('provider-quota: reset_at replenishment on read (#453)', () => {
expect(row!.resetAt).not.toBeNull();
});
});
+
+
+describe('provider quota snapshot reliability', () => {
+ const now = Date.parse('2026-09-15T12:00:00Z');
+ beforeEach(() => { initDb(':memory:'); vi.spyOn(Date, 'now').mockReturnValue(now); });
+ afterEach(() => vi.restoreAllMocks());
+
+ it.each([
+ ['2m59.56s', 179560], ['7.66s', 7660], ['1h2m3s500ms', 3723500],
+ ['1d', 86400000], ['0s', 0], ['179.56', 179560],
+ [String(now / 1000 + 60), 60000], [String(now + 60000), 60000],
+ ['2026-09-15T12:01:00Z', 60000], ['2026-09-15T14:01:00+02:00', 60000],
+ ])('parses reset %s without dropping provider data', (reset, delay) => {
+ const response = new Response(null, {headers:{'x-ratelimit-limit-requests':'100','x-ratelimit-remaining-requests':'75','x-ratelimit-reset-requests':reset}});
+ expect(parseQuotaObservationsFromResponse(response,{platform:'groq'})[0].resetAt).toBe(new Date(now + delay).toISOString());
+ });
+
+ it.each(['', 'nonsense', '-5', 'Infinity', '1e99', '9999999999999999999', '2m invalid', 'NaNs'])('rejects invalid reset %j without throwing', reset => {
+ const response = new Response(null, {headers:{'x-ratelimit-limit-requests':'100','x-ratelimit-reset-requests':reset}});
+ expect(parseQuotaObservationsFromResponse(response,{platform:'groq'})[0].resetAt).toBeNull();
+ });
+
+ it('collects explicit compatible headers without a provider-specific mapping or fabricated limits', () => {
+ const response = new Response(null,{headers:{'x-ratelimit-limit-requests':'20','x-ratelimit-remaining-requests':'18','x-ratelimit-reset-requests':'1m'}});
+ expect(parseQuotaObservationsFromResponse(response,{platform:'kilo',keyId:4})[0]).toMatchObject({limit:20,remaining:18,resetAt:'2026-09-15T12:01:00.000Z'});
+ expect(parseQuotaObservationsFromResponse(new Response(null),{platform:'kilo'})[0]).toMatchObject({limit:null,remaining:null,resetAt:null});
+ });
+
+ it('does not replace valid quota headers with a generic 429 or mistake a 200 retry header for exhaustion', () => {
+ const headers={'x-ratelimit-limit-requests':'100','x-ratelimit-remaining-requests':'75','x-ratelimit-reset-requests':'2m','retry-after':'5'};
+ const rows=parseQuotaObservationsFromResponse(new Response(null,{status:429,headers}),{platform:'groq'});
+ expect(rows).toHaveLength(1);
+ expect(rows[0]).toMatchObject({remaining:75,source:'header',confidence:1,resetAt:'2026-09-15T12:02:00.000Z',retryAfterMs:5000});
+ expect(parseQuotaObservationsFromResponse(new Response(null,{headers:{'retry-after':'5'}}),{platform:'groq'}).some(row=>row.remaining===0)).toBe(false);
+ });
+
+ it('empty and limit-only probes cannot refresh a balance timestamp or borrow its confidence', () => {
+ const base={platform:'groq' as const,keyId:4};
+ recordQuotaObservation({...base,limit:100,remaining:50,resetAt:'2026-09-15T13:00:00Z',source:'header',observedAt:'2026-09-15T11:00:00Z'});
+ const before=getQuotaStateForKeys({normalizeExpired:false})[0];
+ const probe=recordQuotaObservation({...base,source:'probe',confidence:0.1,observedAt:'2026-09-15T12:00:00Z'});
+ recordQuotaObservation({...base,source:'header',limit:200,observedAt:'2026-09-15T12:01:00Z'});
+ expect(probe?.confidence).toBe(0.1);
+ expect(getQuotaStateForKeys({normalizeExpired:false})[0]).toMatchObject({limit:100,remaining:50,resetAt:before.resetAt,observedAt:before.observedAt,source:'header',confidence:1});
+ expect(getDb().prepare("SELECT confidence FROM provider_quota_observations WHERE source='probe'").get()).toEqual({confidence:0.1});
+ });
+
+ it('new balances replace the complete snapshot, including lower confidence and missing reset or limit', () => {
+ const base={platform:'groq' as const,keyId:4};
+ recordQuotaObservation({...base,limit:100,remaining:50,resetAt:'2026-09-15T13:00:00Z',source:'header',observedAt:'2026-09-15T11:00:00Z'});
+ recordQuotaObservation({...base,remaining:0,source:'error_body',confidence:0.55,observedAt:'2026-09-15T12:00:00Z'});
+ expect(getQuotaStateForKeys({normalizeExpired:false})[0]).toMatchObject({remaining:0,limit:null,resetAt:null,confidence:0.55,source:'error_body'});
+ recordQuotaObservation({...base,remaining:100,limit:100,source:'header',observedAt:'2026-09-15T10:00:00Z'});
+ expect(getQuotaStateForKeys({normalizeExpired:false})[0].remaining).toBe(0);
+ });
+});
diff --git a/server/src/__tests__/services/quota-outlook.test.ts b/server/src/__tests__/services/quota-outlook.test.ts
index 363627e9..e662c935 100644
--- a/server/src/__tests__/services/quota-outlook.test.ts
+++ b/server/src/__tests__/services/quota-outlook.test.ts
@@ -2,7 +2,7 @@ import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';
import { initDb, getDb } from '../../db/index.js';
import { getQuotaOutlook } from '../../services/quota-outlook.js';
import { getQuotaForecast } from '../../services/quota-forecast.js';
-import { getQuotaStateForKeys } from '../../services/provider-quota.js';
+import { getQuotaStateForKeys, recordQuotaObservation, recordQuotaObservationsFromResponse } from '../../services/provider-quota.js';
const NOW = Date.parse('2026-09-14T20:00:00Z');
function signal(overrides: Partial<{ platform: string; pool: string; key: number; limit: number | null; remaining: number | null; reset: string | null; observed: string; metric: string; confidence: number }> = {}) {
@@ -50,7 +50,7 @@ describe('dashboard quota outlook', () => {
it('distinguishes sparse traffic from an exhausted current window', () => {
signal({remaining:100}); traffic(2);
- expect(getQuotaOutlook().pools[0]).toMatchObject({status:'insufficient_data',ratePerMin:null,warning:null});
+ expect(getQuotaOutlook().pools[0]).toMatchObject({status:'insufficient_data',ratePerMin:0.2,recentRequestCount:2,warning:null});
getDb().prepare('UPDATE provider_quota_state SET remaining_value=0').run();
expect(getQuotaOutlook().pools[0]).toMatchObject({status:'exhausted',warning:'low_balance',estimatedExhaustionAt:null});
});
@@ -61,7 +61,8 @@ describe('dashboard quota outlook', () => {
{observed:'invalid'}, {confidence:0.1},
])('does not turn unusable observations into current forecasts: %j', overrides => {
signal(overrides); traffic(10);
- expect(getQuotaOutlook().pools[0]).toMatchObject({status:'stale',warning:null,ratePerMin:null,estimatedExhaustionAt:null});
+ expect(getQuotaOutlook().pools[0]).toMatchObject({warning:null,ratePerMin:1,recentRequestCount:10,estimatedExhaustionAt:null});
+ expect(getQuotaOutlook().pools[0].unavailableReason).not.toBeNull();
});
it('keeps unknown request pools visible while token signals remain outside the forecast', () => {
@@ -94,3 +95,57 @@ describe('dashboard quota outlook', () => {
expect(fetchSpy).not.toHaveBeenCalled();
});
});
+
+
+it('records usage independently for a provider with no quota readings or request limits', () => {
+ traffic(2,1,'kilo','free-model');
+ expect(getQuotaOutlook()).toMatchObject({observationWindowMinutes:10,minimumRequests:3,pools:[{
+ platform:'kilo',recentRequestCount:2,ratePerMin:0.2,remaining:null,limit:null,
+ estimatedExhaustionAt:null,status:'unknown',unavailableReason:'quota_not_reported',
+ }]});
+ traffic(8,1,'kilo','another-model');
+ expect(getQuotaOutlook().pools).toHaveLength(1);
+ expect(getQuotaOutlook().pools[0]).toMatchObject({recentRequestCount:10,ratePerMin:1,estimatedExhaustionAt:null});
+});
+
+it('prefers a current observation over an exhausted stale legacy key and counts each request once', () => {
+ signal({key:0,remaining:0,observed:'2026-07-30 10:00:00'});
+ signal({key:1,remaining:100});traffic(10);
+ expect(getQuotaOutlook().pools).toHaveLength(1);
+ expect(getQuotaOutlook().pools[0]).toMatchObject({remaining:100,ratePerMin:1,status:'forecast'});
+});
+
+it('forecasts from real Groq duration headers and retains freshness after an empty health probe', () => {
+ vi.useFakeTimers({toFake:['Date']});vi.setSystemTime(NOW);
+ try {
+ recordQuotaObservationsFromResponse(new Response(null,{headers:{
+ 'x-ratelimit-limit-requests':'100','x-ratelimit-remaining-requests':'10','x-ratelimit-reset-requests':'1h30m',
+ }}),{platform:'groq',keyId:1});traffic(10);
+ expect(getQuotaOutlook().pools[0]).toMatchObject({status:'forecast',warning:'low_balance',ratePerMin:1,estimatedExhaustionAt:'2026-09-14T20:10:00.000Z'});
+ vi.setSystemTime(NOW+11*60000);
+ recordQuotaObservation({platform:'groq',keyId:1,source:'probe',confidence:0.1});
+ expect(getQuotaOutlook().pools[0]).toMatchObject({status:'stale',unavailableReason:'stale_observation',warning:null,estimatedExhaustionAt:null});
+ } finally {vi.useRealTimers();}
+});
+
+it('retains the last actual zero after another panel reads expired headroom', () => {
+ signal({remaining:0,reset:'2026-09-14T19:30:00Z'});
+ getQuotaStateForKeys();
+ expect(getQuotaOutlook().pools[0]).toMatchObject({remaining:0,status:'stale',warning:null});
+});
+
+
+it('includes keyless successful usage but excludes failed, old and future traffic', () => {
+ const insert=getDb().prepare(`INSERT INTO requests(platform,model_id,key_id,status,created_at) VALUES ('kilo','free',NULL,?,?)`);
+ insert.run('success','2026-09-14 19:59:00');
+ insert.run('error','2026-09-14 19:59:00');
+ insert.run('success','2026-09-14 19:00:00');
+ insert.run('success','2026-09-14 20:01:00');
+ expect(getQuotaOutlook().pools[0]).toMatchObject({recentRequestCount:1,ratePerMin:0.1,estimatedExhaustionAt:null});
+});
+
+
+it('normalizes SQLite UTC reset timestamps before projecting exhaustion', () => {
+ signal({remaining:100,reset:'2026-09-14 20:30:00'});traffic(10);
+ expect(getQuotaOutlook().pools[0]).toMatchObject({resetAt:'2026-09-14T20:30:00.000Z',status:'resets_first',estimatedExhaustionAt:null});
+});
diff --git a/server/src/db/migrate/defaults.ts b/server/src/db/migrate/defaults.ts
index 433c0903..601f1023 100644
--- a/server/src/db/migrate/defaults.ts
+++ b/server/src/db/migrate/defaults.ts
@@ -35,6 +35,7 @@ import * as mcpEnabledDefault from '../migrations/20260903_000001_mcp_enabled_de
import * as responseCache from '../migrations/20260903_000002_response_cache.js';
import * as keyMonthlyBudget from '../migrations/20260904_000001_key_monthly_budget.js';
import * as keyMonthlyUsage from '../migrations/20260914_000001_key_monthly_usage.js';
+import * as quotaSnapshotFreshness from '../migrations/20260915_000001_quota_snapshot_freshness.js';
export interface MigrationModule {
up(db: Db): void;
@@ -82,6 +83,7 @@ export const MCP_ENABLED_DEFAULT_FILENAME = '20260903_000001_mcp_enabled_default
export const RESPONSE_CACHE_FILENAME = '20260903_000002_response_cache.ts';
export const KEY_MONTHLY_BUDGET_FILENAME = '20260904_000001_key_monthly_budget.ts';
export const KEY_MONTHLY_USAGE_FILENAME = '20260914_000001_key_monthly_usage.ts';
+export const QUOTA_SNAPSHOT_FRESHNESS_FILENAME = '20260915_000001_quota_snapshot_freshness.ts';
export const DEFAULT_MIGRATIONS: readonly DefaultMigration[] = [
{ filename: LEGACY_BASELINE_FILENAME, module: legacyBaseline },
@@ -120,4 +122,5 @@ export const DEFAULT_MIGRATIONS: readonly DefaultMigration[] = [
{ filename: RESPONSE_CACHE_FILENAME, module: responseCache },
{ filename: KEY_MONTHLY_BUDGET_FILENAME, module: keyMonthlyBudget },
{ filename: KEY_MONTHLY_USAGE_FILENAME, module: keyMonthlyUsage },
+ { filename: QUOTA_SNAPSHOT_FRESHNESS_FILENAME, module: quotaSnapshotFreshness },
];
diff --git a/server/src/db/migrations/20260915_000001_quota_snapshot_freshness.ts b/server/src/db/migrations/20260915_000001_quota_snapshot_freshness.ts
new file mode 100644
index 00000000..31d89f8d
--- /dev/null
+++ b/server/src/db/migrations/20260915_000001_quota_snapshot_freshness.ts
@@ -0,0 +1,37 @@
+// Repair balance timestamps/confidence that empty health probes used to refresh.
+// DOWN: the index is reversible; corrected observations stay corrected.
+import type { Db } from '../types.js';
+
+export function up(db: Db): void {
+ db.exec(`CREATE INDEX IF NOT EXISTS idx_quota_balance_observations
+ ON provider_quota_observations(platform,key_id,quota_pool_key,metric,observed_at DESC,created_at DESC)
+ WHERE remaining_value IS NOT NULL`);
+ // One indexed seek per state row, not a scan of the full observation history.
+ const snapshot = db.prepare(`SELECT * FROM provider_quota_observations
+ WHERE platform=? AND key_id=? AND quota_pool_key=? AND metric=? AND remaining_value IS NOT NULL
+ ORDER BY observed_at DESC,created_at DESC LIMIT 1`);
+ const update = db.prepare(`UPDATE provider_quota_state SET limit_value=?,remaining_value=?,reset_at=?,
+ reset_strategy=?,source=?,confidence=?,notes=?,observed_at=?
+ WHERE platform=? AND key_id=? AND quota_pool_key=? AND metric=?`);
+ const uncertain = db.prepare(`UPDATE provider_quota_state SET confidence=0
+ WHERE platform=? AND key_id=? AND quota_pool_key=? AND metric=?`);
+ const confidenceCap: Record<string, number> = { header:1,quota_api:1,error_body:0.55,probe:0.1,local_usage:0.45,documentation:0.35 };
+ const rows = db.prepare('SELECT platform,key_id,quota_pool_key,metric FROM provider_quota_state').all() as {
+ platform:string;key_id:number;quota_pool_key:string;metric:string;
+ }[];
+ for (const row of rows) {
+ const identity = [row.platform,row.key_id,row.quota_pool_key,row.metric];
+ const measured = snapshot.get(...identity) as {
+ limit_value:number|null;remaining_value:number;reset_at:string|null;reset_strategy:string;
+ source:string;confidence:number;notes:string|null;observed_at:string;
+ } | undefined;
+ if (measured) update.run(measured.limit_value,measured.remaining_value,measured.reset_at,
+ measured.reset_strategy,measured.source,Math.min(measured.confidence,confidenceCap[measured.source] ?? 0),
+ measured.notes,measured.observed_at,...identity);
+ else uncertain.run(...identity); // Retention may have removed the actual observation.
+ }
+}
+
+export function down(db: Db): void {
+ db.exec('DROP INDEX IF EXISTS idx_quota_balance_observations');
+}
diff --git a/server/src/services/provider-quota.ts b/server/src/services/provider-quota.ts
index 5f7adeab..9675f412 100644
--- a/server/src/services/provider-quota.ts
+++ b/server/src/services/provider-quota.ts
@@ -64,15 +64,6 @@ const DEFAULT_CONFIDENCE: Record<QuotaObservationSource, number> = {
probe: 0.6,
};
-const SOURCE_PRIORITY: Record<QuotaObservationSource, number> = {
- header: 5,
- quota_api: 5,
- error_body: 4,
- probe: 3,
- local_usage: 2,
- documentation: 1,
-};
-
export function runWithQuotaObservationContext<T>(context: QuotaObservationContext, fn: () => T): T {
return contextStore.run(context, fn);
}
@@ -97,16 +88,25 @@ function parseHeaderNumber(raw: string | null): number | null {
}
function parseResetAtFromHeader(raw: string | null, now = Date.now()): string | null {
- const parsed = parseHeaderNumber(raw);
- if (parsed === null) return null;
- if (parsed > 1_000_000_000_000) return new Date(parsed).toISOString();
- if (parsed > 1_000_000_000) return new Date(parsed * 1000).toISOString();
- return new Date(now + parsed * 1000).toISOString();
-}
-
-function pickBetterSource(existing: QuotaObservationSource | null | undefined, next: QuotaObservationSource): QuotaObservationSource {
- if (!existing) return next;
- return SOURCE_PRIORITY[next] >= SOURCE_PRIORITY[existing] ? next : existing;
+ if (!raw?.trim()) return null;
+ const value = raw.trim();
+ let milliseconds: number;
+ if (/^\d+(?:\.\d+)?$/.test(value)) {
+ const parsed = Number(value);
+ milliseconds = parsed > 1_000_000_000_000 ? parsed
+ : parsed > 1_000_000_000 ? parsed * 1000 : now + parsed * 1000;
+ } else if (/^(?:\d+(?:\.\d+)?(?:ms|[dhms]))+$/.test(value)) {
+ // Groq reports durations such as 2m59.56s, not numeric seconds.
+ const units: Record<string, number> = { d: 86_400_000, h: 3_600_000, m: 60_000, s: 1000, ms: 1 };
+ milliseconds = now;
+ for (const part of value.matchAll(/(\d+(?:\.\d+)?)(ms|[dhms])/g)) {
+ milliseconds += Number(part[1]) * units[part[2]];
+ }
+ } else if (/^\d{4}-\d{2}-\d{2}T.*(?:Z|[+-]\d{2}:\d{2})$/.test(value)) {
+ milliseconds = Date.parse(value);
+ } else return null;
+ const date = new Date(milliseconds);
+ return Number.isFinite(date.getTime()) ? date.toISOString() : null;
}
export function inferPoolForPlatform(platform: Platform, modelId?: string | null): string {
@@ -289,29 +289,26 @@ export function parseQuotaObservationsFromResponse(
}
}
- const retryAfterMs = parseRetryAfterMs(get('retry-after')) ?? null;
- if (retryAfterMs !== null) {
- observations.push({
- ...base,
- metric: 'requests',
- limit: parseHeaderNumber(get('x-ratelimit-limit-requests')),
- remaining: 0,
- resetAt: new Date(Date.now() + retryAfterMs).toISOString(),
- retryAfterMs,
- resetStrategy: 'provider_reported',
- source: response.status === 429 ? 'header' : 'error_body',
- confidence: response.status === 429 ? 1 : 0.8,
- notes: `retry-after=${retryAfterMs}ms`,
- });
+ // Other compatible providers can expose these explicit request/token headers.
+ // Only use the fallback when the provider-specific mapping found no such metric.
+ for (const metric of ['requests', 'tokens'] as const) {
+ if (!observations.some(row => row.metric === metric)) {
+ maybeAddObservation(observations, base, metric, get(`x-ratelimit-limit-${metric}`),
+ get(`x-ratelimit-remaining-${metric}`), get(`x-ratelimit-reset-${metric}`), 'provider_reported');
+ }
}
- if (response.status === 429 || response.status === 402) {
+ const retryAfterMs = parseRetryAfterMs(get('retry-after')) ?? null;
+ if ((response.status === 429 || response.status === 402)
+ && !observations.some(row => row.metric === 'requests' && row.remaining != null)) {
+ // A cooldown alone is not proof of an exhausted daily request allowance.
+ // Keep it as lower-confidence error evidence; do not overwrite quota headers.
observations.push({
...base,
metric: 'requests',
- limit: parseHeaderNumber(get('x-ratelimit-limit-requests')),
+ limit: null,
remaining: 0,
- resetAt: get('x-ratelimit-reset-requests') ? parseResetAtFromHeader(get('x-ratelimit-reset-requests')) : null,
+ resetAt: retryAfterMs == null ? null : new Date(Date.now() + retryAfterMs).toISOString(),
retryAfterMs,
resetStrategy: 'unknown',
source: 'error_body',
@@ -319,6 +316,10 @@ export function parseQuotaObservationsFromResponse(
notes: response.status === 402 ? 'upstream payment/credit exhaustion' : 'rate limited',
});
}
+ for (const observation of observations) {
+ observation.statusCode = response.status;
+ observation.retryAfterMs = retryAfterMs;
+ }
if (observations.length === 0 && isSharedPool(base.platform) && response.status === 200) {
observations.push({
@@ -369,19 +370,6 @@ export function recordQuotaObservation(input: QuotaObservationInput): ProviderQu
const nowSql = toSqliteUtc(observedAt);
const updatedAt = nowSql;
- const prev = db.prepare(`
- SELECT confidence, notes, source
- FROM provider_quota_state
- WHERE platform = ?
- AND key_id = ?
- AND quota_pool_key = ?
- AND metric = ?
- `).get(platform, keyId, quotaPoolKey, metric) as { confidence: number; notes: string | null; source: QuotaObservationSource } | undefined;
-
- const nextConfidence = Math.max(prev?.confidence ?? 0, confidence);
- const nextNotes = notes ?? prev?.notes ?? null;
- const nextSource = pickBetterSource(prev?.source, source);
-
db.transaction(() => {
db.prepare(`
INSERT INTO provider_quota_state (
@@ -389,30 +377,24 @@ export function recordQuotaObservation(input: QuotaObservationInput): ProviderQu
reset_at, reset_strategy, source, confidence, notes, observed_at, updated_at
) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
ON CONFLICT(platform, key_id, quota_pool_key, metric) DO UPDATE SET
- limit_value = COALESCE(excluded.limit_value, provider_quota_state.limit_value),
- remaining_value = COALESCE(excluded.remaining_value, provider_quota_state.remaining_value),
- reset_at = COALESCE(excluded.reset_at, provider_quota_state.reset_at),
- reset_strategy = CASE
- WHEN excluded.reset_strategy != 'unknown' THEN excluded.reset_strategy
- ELSE provider_quota_state.reset_strategy
- END,
- confidence = MAX(provider_quota_state.confidence, excluded.confidence),
- notes = COALESCE(excluded.notes, provider_quota_state.notes),
+ limit_value = excluded.limit_value,
+ remaining_value = excluded.remaining_value,
+ reset_at = excluded.reset_at,
+ reset_strategy = excluded.reset_strategy,
+ source = excluded.source,
+ confidence = excluded.confidence,
+ notes = excluded.notes,
observed_at = excluded.observed_at,
- updated_at = datetime('now')
+ updated_at = excluded.updated_at
+ -- Keep a coherent balance snapshot. Empty/limit-only probes must not
+ -- make an older balance, reset or confidence appear freshly measured.
+ WHERE excluded.remaining_value IS NOT NULL
+ AND (provider_quota_state.remaining_value IS NULL
+ OR julianday(excluded.observed_at) >= julianday(provider_quota_state.observed_at))
`).run(
- platform, keyId, quotaPoolKey, metric, limitValue, remainingValue, resetAt, resetStrategy, source, nextConfidence, nextNotes, nowSql, updatedAt,
+ platform, keyId, quotaPoolKey, metric, limitValue, remainingValue, resetAt, resetStrategy, source, confidence, notes, nowSql, updatedAt,
);
- db.prepare(`
- UPDATE provider_quota_state
- SET source = ?
- WHERE platform = ?
- AND key_id = ?
- AND quota_pool_key = ?
- AND metric = ?
- `).run(nextSource, platform, keyId, quotaPoolKey, metric);
-
db.prepare(`
INSERT INTO provider_quota_observations (
id, platform, key_id, provider_account_id, model_id, quota_pool_key, metric,
@@ -445,8 +427,8 @@ export function recordQuotaObservation(input: QuotaObservationInput): ProviderQu
retryAfterMs,
resetStrategy,
source,
- confidence: nextConfidence,
- notes: nextNotes,
+ confidence,
+ notes,
observedAt: nowSql,
updatedAt,
endpoint,
@@ -464,30 +446,10 @@ export function recordQuotaObservationsFromResponse(
.filter((row): row is ProviderQuotaObservation => row !== null);
}
-// A quota window whose reset_at has passed has replenished at the provider, but
-// remaining_value is only ever written on a fresh observation — so a key that hit
-// remaining=0 reads as "exhausted" forever on the dashboard health view until the
-// next live call (#453). Restore remaining to the known limit (or clear it to
-// unknown when the limit isn't known — `= limit_value` yields NULL in that case)
-// and drop the stale reset_at so the row stops reading as exhausted and this
-// fix-up doesn't recur. Runs on read; a new observation re-populates reset_at.
-function normalizeExpiredQuotaState(db: ReturnType<typeof getDb>): void {
- db.prepare(`
- UPDATE provider_quota_state
- SET remaining_value = limit_value,
- reset_at = NULL,
- updated_at = datetime('now')
- WHERE reset_at IS NOT NULL
- AND julianday(reset_at) < julianday('now')
- `).run();
-}
-
-// ── Per-key headroom (routing signal) ───────────────────────────────────────
-// getQuotaStateForKeys is a panel query: it takes a write (the expiry fix-up)
-// and window-functions the whole observation log. The router needs a far
-// smaller answer — "how much of its budget does each key of ONE platform have
-// left" — on a path that runs per chain entry per request, so it gets its own
-// read-only, platform-filtered query behind a short TTL.
+// The router needs a smaller view than the panel's joined observation rows:
+// a read-only, platform-filtered headroom query behind a short TTL. Expired
+// windows replenish the routing estimate, while the original balance remains
+// stored for presentation as a last reported observation.
/** Confidence floor for letting an observation steer routing. Keeps headers,
* quota APIs and 429 bodies in; leaves local estimates and probes out. */
@@ -541,7 +503,7 @@ export function getKeyQuotaHeadroom(platform: Platform): Map<number, number> {
const map = new Map<number, number>();
for (const row of rows) {
// A window that already reset is a full budget again. Same rule as
- // normalizeExpiredQuotaState, minus the write — this path must not take
+ // the panel headroom view, without writes — this path must not take
// one just to answer a routing question.
const ratio = row.expired
? 1
@@ -567,16 +529,13 @@ export function getQuotaStateForKeys(options: { normalizeExpired?: boolean } = {
} catch {
return [];
}
- // Forecast readers keep the original observation and mark expired windows as
- // stale. They must not replenish a balance merely by polling the dashboard.
- if (options.normalizeExpired !== false) normalizeExpiredQuotaState(db);
// One seek per state row for its newest observation. The log is append-only
// and grows into the hundreds of thousands of rows, so this must never scan
// it: the correlated subquery walks idx_provider_quota_observations_latest
// (platform, key_id, quota_pool_key, metric, observed_at DESC, created_at
// DESC) and stops at the first entry. The window-function form it replaces
// ranked the entire table, raw_json included, on every dashboard poll.
- return db.prepare(`
+ const rows = db.prepare(`
SELECT
pqs.platform,
pqs.key_id AS keyId,
@@ -616,4 +575,13 @@ export function getQuotaStateForKeys(options: { normalizeExpired?: boolean } = {
)
ORDER BY pqs.platform ASC, pqs.key_id ASC, pqs.quota_pool_key ASC, pqs.metric ASC
`).all() as QuotaObservationView[];
+ if (options.normalizeExpired === false) return rows;
+ // Legacy callers can still display replenished headroom, but never overwrite
+ // the actual observation: the outlook must retain its age and reported value.
+ const now = Date.now();
+ return rows.map(row => {
+ const resetAt = row.resetAt?.includes('T') ? row.resetAt : row.resetAt?.replace(' ', 'T') + 'Z';
+ return row.resetAt && Date.parse(resetAt) < now
+ ? { ...row, remaining: row.limit, resetAt: null } : row;
+ });
}
diff --git a/server/src/services/quota-forecast.ts b/server/src/services/quota-forecast.ts
index 7ffcff92..e7d4fe54 100644
--- a/server/src/services/quota-forecast.ts
+++ b/server/src/services/quota-forecast.ts
@@ -27,6 +27,7 @@ export const LOW_BALANCE_ABSOLUTE_MIN_LIMIT = 200;
// current consumption speed. Ten minutes covers bursty usage while ignoring
// sub-hour lulls; shorter windows would jitter, longer ones would lag.
export const RATE_OBSERVATION_WINDOW_MINUTES = 10;
+export const MIN_FORECAST_REQUESTS = 3;
export interface QuotaForecastEntry {
/** Platform the pool belongs to, e.g. 'groq'. */
@@ -72,25 +73,28 @@ function secondsUntilReset(resetAt: string | null): number | null {
}
/** Successful traffic grouped by the same key/pool identity used for observations. */
-function recentRequestCounts(now: number): Map<string, number> {
+export interface RecentQuotaActivity {
+ platform: Platform;
+ keyId: number | null;
+ pool: string;
+ count: number;
+}
+
+export function getRecentQuotaActivity(now: number): RecentQuotaActivity[] {
const sqliteUtc = (ms: number) => new Date(ms).toISOString().slice(0, 19).replace('T', ' ');
const since = sqliteUtc(now - RATE_OBSERVATION_WINDOW_MINUTES * 60_000);
const rows = getDb().prepare(`
SELECT platform, key_id AS keyId, model_id AS modelId, COUNT(*) AS count
FROM requests
WHERE created_at >= ? AND datetime(created_at) >= ? AND datetime(created_at) <= ?
- AND status = 'success' AND key_id IS NOT NULL
+ AND status = 'success'
GROUP BY platform, key_id, model_id
- `).all(since, since, sqliteUtc(now)) as { platform: Platform; keyId: number; modelId: string; count: number }[];
- const counts = new Map<string, number>();
- for (const row of rows) {
- const identity = JSON.stringify([row.platform, inferPoolForPlatform(row.platform, row.modelId), row.keyId]);
- counts.set(identity, (counts.get(identity) ?? 0) + Number(row.count));
- }
- return counts;
+ `).all(since, since, sqliteUtc(now)) as { platform: Platform; keyId: number | null; modelId: string; count: number }[];
+ return rows.map(row => ({ platform: row.platform, keyId: row.keyId,
+ pool: inferPoolForPlatform(row.platform, row.modelId), count: Number(row.count) }));
}
-function estimateExhaustionAt(
+export function estimateExhaustionAt(
remaining: number,
ratePerMin: number | null,
resetAt: string | null,
@@ -159,9 +163,16 @@ function entryFor(row: QuotaObservationView, ratePerMin: number | null, now: num
// Dedupe to the TIGHTEST row per platform+pool: a platform with several keys
// sharing one account pool reports the same window per key, and the number that
// matters for "can I keep calling" is the least headroom left.
-export function getQuotaForecast(rows = getQuotaStateForKeys(), now = Date.now()): QuotaForecastEntry[] {
+export function getQuotaForecast(
+ rows = getQuotaStateForKeys(), now = Date.now(),
+): QuotaForecastEntry[] {
const byKey = new Map<string, QuotaForecastEntry>();
- const counts = rows.length ? recentRequestCounts(now) : new Map<string, number>();
+ const activity = rows.length ? getRecentQuotaActivity(now) : [];
+ const counts = new Map<string, number>();
+ for (const row of activity) {
+ const identity = JSON.stringify([row.platform, row.pool, row.keyId]);
+ counts.set(identity, (counts.get(identity) ?? 0) + row.count);
+ }
const poolKeys = new Map<string, Set<string>>();
for (const row of rows) {
if (row.metric !== 'requests') continue;
@@ -174,7 +185,7 @@ export function getQuotaForecast(rows = getQuotaStateForKeys(), now = Date.now()
const keys = poolKeys.get(JSON.stringify([row.platform, row.quotaPoolKey])) ?? [];
let count = 0;
for (const key of keys) count += counts.get(key) ?? 0;
- const rate = count < 3 ? null : Math.round(count / RATE_OBSERVATION_WINDOW_MINUTES * 100) / 100;
+ const rate = count < MIN_FORECAST_REQUESTS ? null : Math.round(count / RATE_OBSERVATION_WINDOW_MINUTES * 100) / 100;
const entry = entryFor(row, rate, now);
if (!entry) continue;
// `pool` already carries its platform ("groq::account"), so it is the key.
diff --git a/server/src/services/quota-outlook.ts b/server/src/services/quota-outlook.ts
index 858bc49b..cb0e4c05 100644
--- a/server/src/services/quota-outlook.ts
+++ b/server/src/services/quota-outlook.ts
@@ -1,78 +1,88 @@
import type { QuotaOutlookPool, QuotaOutlookResponse } from '@freellmapi/shared/types.js';
import { getQuotaStateForKeys, type QuotaObservationView } from './provider-quota.js';
-import { getQuotaForecast, RATE_OBSERVATION_WINDOW_MINUTES } from './quota-forecast.js';
+import { estimateExhaustionAt, getRecentQuotaActivity, MIN_FORECAST_REQUESTS, RATE_OBSERVATION_WINDOW_MINUTES } from './quota-forecast.js';
const WARNING_REMAINING_RATIO = 0.2;
const WARNING_EXHAUSTION_MS = 2 * 60 * 60_000;
const MAX_OBSERVATION_AGE_MS = RATE_OBSERVATION_WINDOW_MINUTES * 60_000;
-function remainingRatio(row: QuotaObservationView): number {
- return row.limit != null && row.limit > 0 && row.remaining != null
- ? row.remaining / row.limit : Infinity;
-}
-
function utcMillis(value: string | null): number {
if (!value) return NaN;
return Date.parse(value.includes('T') ? value : value.replace(' ', 'T') + 'Z');
}
-/** Dashboard presentation over the existing request forecast. No writes or probes. */
+function unavailableReason(row: QuotaObservationView, now: number): QuotaOutlookPool['unavailableReason'] {
+ if (row.limit == null || !Number.isFinite(row.limit) || row.limit <= 0
+ || row.remaining == null || !Number.isFinite(row.remaining) || row.remaining < 0 || row.remaining > row.limit) return 'quota_not_reported';
+ const observed = utcMillis(row.observedAt);
+ const reset = utcMillis(row.resetAt);
+ if (!Number.isFinite(observed) || observed > now || now - observed > MAX_OBSERVATION_AGE_MS
+ || (Number.isFinite(reset) && reset <= now)) return 'stale_observation';
+ if (!Number.isFinite(row.confidence) || row.confidence < 0.7) return 'low_confidence';
+ return Number.isFinite(reset) ? null : 'reset_not_reported';
+}
+
+/** Local activity is measurable even without provider quota headers. No probes or writes. */
export function getQuotaOutlook(): QuotaOutlookResponse {
const now = Date.now();
- const rows = getQuotaStateForKeys({ normalizeExpired: false });
- const forecasts = new Map(getQuotaForecast(rows, now).map(row => [row.pool, row]));
- const tightest = new Map<string, QuotaObservationView>();
- for (const row of rows) {
+ const activity = getRecentQuotaActivity(now);
+ const counts = new Map<string, number>();
+ for (const row of activity) counts.set(row.pool, (counts.get(row.pool) ?? 0) + row.count);
+ const selected = new Map<string, QuotaObservationView>();
+ const rank = (row: QuotaObservationView) => {
+ const reason = unavailableReason(row, now);
+ return reason === null ? 0 : reason === 'reset_not_reported' ? 1 : reason === 'quota_not_reported' ? 3 : 2;
+ };
+ for (const row of getQuotaStateForKeys({ normalizeExpired: false })) {
if (row.metric !== 'requests') continue;
- const previous = tightest.get(row.quotaPoolKey);
- // Match the forecast service's rounded-percentage tie-breaking so the
- // balance and projection always describe the very same observation.
- const score = (value: QuotaObservationView) => Number.isFinite(remainingRatio(value))
- ? Math.max(0, Math.min(100, Math.round(remainingRatio(value) * 100))) : Infinity;
- if (!previous || score(row) < score(previous)) tightest.set(row.quotaPoolKey, row);
+ const previous = selected.get(row.quotaPoolKey);
+ // A stale legacy key must not hide a current account reading. Among usable
+ // readings, retain the tightest pool balance (same rounded-percent tie break).
+ const score = (value: QuotaObservationView) => value.limit != null && value.limit > 0 && value.remaining != null
+ ? Math.round(value.remaining / value.limit * 100) : Infinity;
+ if (!previous || rank(row) < rank(previous) || (rank(row) === rank(previous) && score(row) < score(previous))) {
+ selected.set(row.quotaPoolKey, row);
+ }
}
- const pools = [...tightest.values()].map((row): QuotaOutlookPool => {
- const forecast = forecasts.get(row.quotaPoolKey);
- const known = row.limit != null && Number.isFinite(row.limit) && row.limit > 0
- && row.remaining != null && Number.isFinite(row.remaining) && row.remaining >= 0
- && row.remaining <= row.limit;
- const observedMs = utcMillis(row.observedAt);
+ const pools: QuotaOutlookPool[] = [];
+ for (const row of selected.values()) {
+ const reason = unavailableReason(row, now);
+ const count = counts.get(row.quotaPoolKey) ?? 0;
+ const rate = Math.round(count / RATE_OBSERVATION_WINDOW_MINUTES * 100) / 100;
+ const known = reason !== 'quota_not_reported';
const resetMs = utcMillis(row.resetAt);
- // Unknown reset times, old observations and low-confidence probes cannot
- // support a reassuring forecast. Raw values remain visible as last reported.
- const fresh = Number.isFinite(observedMs) && observedMs <= now
- && now - observedMs <= MAX_OBSERVATION_AGE_MS
- && Number.isFinite(resetMs) && resetMs > now && row.confidence >= 0.7;
- const rate = known && fresh ? forecast?.rate_per_min ?? null : null;
- const exhaustion = known && fresh ? forecast?.estimated_exhaustion_at ?? null : null;
- let status: QuotaOutlookPool['status'];
- if (!known) status = 'unknown';
- else if (!fresh) status = 'stale';
- else if (row.remaining === 0) status = 'exhausted';
- else if (rate == null || rate <= 0) status = 'insufficient_data';
- else if (exhaustion) status = 'forecast';
- else status = 'resets_first';
-
+ const resetAt = Number.isFinite(resetMs) ? new Date(resetMs).toISOString() : null;
+ const exhaustion = reason === null && count >= MIN_FORECAST_REQUESTS && row.remaining! > 0
+ ? estimateExhaustionAt(row.remaining!, rate, resetAt, now) : null;
+ const status: QuotaOutlookPool['status'] = reason === 'quota_not_reported' ? 'unknown'
+ : reason === 'stale_observation' ? 'stale'
+ : reason ? 'unavailable'
+ : row.remaining === 0 ? 'exhausted'
+ : count < MIN_FORECAST_REQUESTS ? 'insufficient_data'
+ : exhaustion ? 'forecast' : 'resets_first';
let warning: QuotaOutlookPool['warning'] = null;
- if (known && fresh) {
- if (remainingRatio(row) < WARNING_REMAINING_RATIO) warning = 'low_balance';
+ if (reason === null) {
+ if (row.remaining! / row.limit! < WARNING_REMAINING_RATIO) warning = 'low_balance';
else if (exhaustion && Date.parse(exhaustion) - now <= WARNING_EXHAUSTION_MS) warning = 'exhausting_soon';
}
- return {
- platform: row.platform,
- pool: row.quotaPoolKey,
- limit: row.limit,
- remaining: row.remaining,
- remainingPct: known ? Math.round(remainingRatio(row) * 100) : null,
- observedAt: row.observedAt,
- resetAt: Number.isFinite(resetMs) ? row.resetAt : null,
- ratePerMin: rate,
- estimatedExhaustionAt: exhaustion,
- status,
- warning,
- };
- });
+ pools.push({
+ platform: row.platform, pool: row.quotaPoolKey, limit: row.limit, remaining: row.remaining,
+ remainingPct: known ? Math.round(row.remaining! / row.limit! * 100) : null,
+ observedAt: row.observedAt, resetAt,
+ recentRequestCount: count, ratePerMin: rate, estimatedExhaustionAt: exhaustion,
+ unavailableReason: reason, status, warning,
+ });
+ }
+ // Providers without any quota observations still have locally recorded usage.
+ for (const row of activity) {
+ if (selected.has(row.pool) || pools.some(pool => pool.pool === row.pool)) continue;
+ const count = counts.get(row.pool)!;
+ pools.push({ platform:row.platform,pool:row.pool,limit:null,remaining:null,remainingPct:null,
+ observedAt:null,resetAt:null,recentRequestCount:count,ratePerMin:Math.round(count / RATE_OBSERVATION_WINDOW_MINUTES * 100) / 100,
+ estimatedExhaustionAt:null,unavailableReason:'quota_not_reported',status:'unknown',warning:null });
+ }
pools.sort((a, b) => Number(Boolean(b.warning)) - Number(Boolean(a.warning)) || a.pool.localeCompare(b.pool));
- return { generatedAt: new Date(now).toISOString(), pools };
+ return { generatedAt:new Date(now).toISOString(),observationWindowMinutes:RATE_OBSERVATION_WINDOW_MINUTES,
+ minimumRequests:MIN_FORECAST_REQUESTS,pools };
}
diff --git a/shared/types.ts b/shared/types.ts
index 16763fda..788bbd61 100644
--- a/shared/types.ts
+++ b/shared/types.ts
@@ -584,16 +584,21 @@ export interface QuotaOutlookPool {
limit: number | null;
remaining: number | null;
remainingPct: number | null;
- observedAt: string;
+ observedAt: string | null;
resetAt: string | null;
- ratePerMin: number | null;
+ /** Successful requests through this instance during the observation window. */
+ recentRequestCount: number;
+ ratePerMin: number;
+ unavailableReason: 'quota_not_reported' | 'stale_observation' | 'reset_not_reported' | 'low_confidence' | null;
estimatedExhaustionAt: string | null;
- status: 'unknown' | 'stale' | 'insufficient_data' | 'resets_first' | 'forecast' | 'exhausted';
+ status: 'unknown' | 'stale' | 'unavailable' | 'insufficient_data' | 'resets_first' | 'forecast' | 'exhausted';
warning: 'low_balance' | 'exhausting_soon' | null;
}
export interface QuotaOutlookResponse {
generatedAt: string;
+ observationWindowMinutes: number;
+ minimumRequests: number;
pools: QuotaOutlookPool[];
}