feat: add MiniMax coding plan quota providers (#516)

Add separate MiniMax quota providers for minimax.io and minimaxi.com
Register and export both MiniMax providers in the web quota dispatcher
Update UI quota provider types/list and quota module documentation
This commit is contained in:
nzlov
2026-02-26 11:36:30 +02:00
committed by GitHub
parent 2fc849bfa5
commit 1b64c826ee
7 changed files with 294 additions and 9 deletions
+8 -7
View File
@@ -14,12 +14,13 @@ export const QUOTA_PROVIDERS: QuotaProviderMeta[] = [
{ id: 'nano-gpt', name: 'NanoGPT' },
{ id: 'openrouter', name: 'OpenRouter' },
{ id: 'zai-coding-plan', name: 'z.ai' },
{ id: 'minimax-cn-coding-plan', name: 'MiniMax Coding Plan (minimaxi.com)' },
{ id: 'minimax-coding-plan', name: 'MiniMax Coding Plan (minimax.io)' },
];
export const QUOTA_PROVIDER_MAP = QUOTA_PROVIDERS.reduce<Record<string, QuotaProviderMeta>>(
(acc, provider) => {
acc[provider.id] = provider;
return acc;
},
{}
);
export const QUOTA_PROVIDER_MAP = QUOTA_PROVIDERS.reduce<
Record<string, QuotaProviderMeta>
>((acc, provider) => {
acc[provider.id] = provider;
return acc;
}, {});
+3 -1
View File
@@ -8,7 +8,9 @@ export type QuotaProviderId =
| 'kimi-for-coding'
| 'nano-gpt'
| 'openrouter'
| 'zai-coding-plan';
| 'zai-coding-plan'
| 'minimax-coding-plan'
| 'minimax-cn-coding-plan';
export interface UsageWindow {
usedPercent: number | null;