mirror of
https://github.com/langgenius/dify.git
synced 2026-03-02 06:16:39 +08:00
- Moved ModelProviderQuotaGetPaid enum to a new file for better organization. - Updated imports across components to use the new type definition. - Enhanced type safety in utility functions by specifying more precise types. - Simplified provider configuration by deriving provider list from a shared constant.
14 lines
493 B
TypeScript
14 lines
493 B
TypeScript
/**
|
|
* Model provider quota types - shared type definitions for API responses
|
|
* These represent the provider identifiers that support paid/trial quotas
|
|
*/
|
|
export enum ModelProviderQuotaGetPaid {
|
|
ANTHROPIC = 'langgenius/anthropic/anthropic',
|
|
OPENAI = 'langgenius/openai/openai',
|
|
// AZURE_OPENAI = 'langgenius/azure_openai/azure_openai',
|
|
GEMINI = 'langgenius/gemini/google',
|
|
X = 'langgenius/x/x',
|
|
DEEPSEEK = 'langgenius/deepseek/deepseek',
|
|
TONGYI = 'langgenius/tongyi/tongyi',
|
|
}
|