feat(quota): add Crof and NeuralWatt quota providers (#2415)
This commit is contained in:
@@ -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' },
|
||||
];
|
||||
|
||||
@@ -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');
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user