fix: remove duplicate Zhipu usage provider
Keeps one Zhipu AI Coding Plan entry in usage settings Preserves existing Zhipu aliases and config lookup Removes duplicate backend quota registration
This commit is contained in:
@@ -18,7 +18,6 @@ export const QUOTA_PROVIDERS: QuotaProviderMeta[] = [
|
||||
{ id: 'minimax-cn-coding-plan', name: 'MiniMax Coding Plan (minimaxi.com)' },
|
||||
{ id: 'minimax-coding-plan', name: 'MiniMax Coding Plan (minimax.io)' },
|
||||
{ id: 'ollama-cloud', name: 'Ollama Cloud' },
|
||||
{ id: 'zhipuai-coding-plan', name: 'ZhipuAI' },
|
||||
];
|
||||
|
||||
export const QUOTA_PROVIDER_MAP = QUOTA_PROVIDERS.reduce<
|
||||
|
||||
@@ -12,8 +12,7 @@ export type QuotaProviderId =
|
||||
| 'zhipuai-coding-plan'
|
||||
| 'minimax-coding-plan'
|
||||
| 'minimax-cn-coding-plan'
|
||||
| 'ollama-cloud'
|
||||
| 'zhipuai-coding-plan';
|
||||
| 'ollama-cloud';
|
||||
|
||||
export interface UsageWindow {
|
||||
usedPercent: number | null;
|
||||
|
||||
Reference in New Issue
Block a user