feat(quota): add NanoGPT quota provider support (#424)
* feat: add NanoGPT quota provider and usage fetch Detect NanoGPT as a configured quota provider. Expose daily and monthly usage windows with reset times. Return configured and ok state based on API key presence. * feat: fetch NanoGPT quota and detect config Detect NanoGPT in configured providers from auth. Fetch and expose daily and monthly usage windows for NanoGPT. * feat: add NanoGPT quota provider option
This commit is contained in:
@@ -11,6 +11,7 @@ export const QUOTA_PROVIDERS: QuotaProviderMeta[] = [
|
||||
{ id: 'github-copilot', name: 'GitHub Copilot' },
|
||||
{ id: 'google', name: 'Google' },
|
||||
{ id: 'kimi-for-coding', name: 'Kimi for Coding' },
|
||||
{ id: 'nano-gpt', name: 'NanoGPT' },
|
||||
{ id: 'openrouter', name: 'OpenRouter' },
|
||||
{ id: 'zai-coding-plan', name: 'z.ai' },
|
||||
];
|
||||
|
||||
@@ -6,6 +6,7 @@ export type QuotaProviderId =
|
||||
| 'github-copilot-addon'
|
||||
| 'google'
|
||||
| 'kimi-for-coding'
|
||||
| 'nano-gpt'
|
||||
| 'openrouter'
|
||||
| 'zai-coding-plan';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user