feat(quota): add Crof and NeuralWatt quota providers (#2415)

This commit is contained in:
pablogonzalez
2026-07-26 17:57:53 +03:00
committed by GitHub
parent 023ec2362e
commit e2b0a113b8
13 changed files with 1330 additions and 1 deletions
@@ -21,4 +21,6 @@ export const QUOTA_PROVIDERS: QuotaProviderMeta[] = [
{ id: 'ollama-cloud', name: 'Ollama Cloud' },
{ id: 'wafer', name: 'Wafer.ai' },
{ id: 'opencode-go', name: 'OpenCode Go' },
{ id: 'crof', name: 'CrofAI' },
{ id: 'neuralwatt', name: 'NeuralWatt' },
];
+1
View File
@@ -83,6 +83,7 @@ export const formatWindowLabel = (label: string): string => {
if (label === 'credits') return t('quota.window.credits');
if (label === 'credits_balance') return t('quota.window.creditsBalance');
if (label === 'billing_cycle') return t('quota.window.billingCycle');
if (label === 'plan_limit') return t('quota.window.planLimit');
if (label === 'auto') return t('quota.window.auto');
if (label === 'api') return t('quota.window.api');
if (label === 'plan_limit') return t('quota.window.planLimit');
+3 -1
View File
@@ -15,7 +15,9 @@ export type QuotaProviderId =
| 'minimax-cn-coding-plan'
| 'ollama-cloud'
| 'wafer'
| 'opencode-go';
| 'opencode-go'
| 'crof'
| 'neuralwatt';
export interface UsageWindow {
usedPercent: number | null;