Co-authored-by: Max Tuzzolino <maxtuzz@Maxs-MacBook-Pro.local> Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: Max Tuzzolino <max.tuzsmith@gmail.com> Co-authored-by: Ralph Khreish <35776126+Crunchyman-ralph@users.noreply.github.com>
38 lines
865 B
JavaScript
38 lines
865 B
JavaScript
/**
|
|
* Provider validation constants
|
|
* Defines which providers should be validated against the supported-models.json file
|
|
*/
|
|
|
|
// Providers that have predefined model lists and should be validated
|
|
export const VALIDATED_PROVIDERS = [
|
|
'anthropic',
|
|
'openai',
|
|
'google',
|
|
'perplexity',
|
|
'xai',
|
|
'groq',
|
|
'mistral'
|
|
];
|
|
|
|
// Custom providers object for easy named access
|
|
export const CUSTOM_PROVIDERS = {
|
|
AZURE: 'azure',
|
|
VERTEX: 'vertex',
|
|
BEDROCK: 'bedrock',
|
|
OPENROUTER: 'openrouter',
|
|
OLLAMA: 'ollama',
|
|
CLAUDE_CODE: 'claude-code',
|
|
MCP: 'mcp',
|
|
GEMINI_CLI: 'gemini-cli',
|
|
GROK_CLI: 'grok-cli'
|
|
};
|
|
|
|
// Custom providers array (for backward compatibility and iteration)
|
|
export const CUSTOM_PROVIDERS_ARRAY = Object.values(CUSTOM_PROVIDERS);
|
|
|
|
// All known providers (for reference)
|
|
export const ALL_PROVIDERS = [
|
|
...VALIDATED_PROVIDERS,
|
|
...CUSTOM_PROVIDERS_ARRAY
|
|
];
|