Cohere support added

This commit is contained in:
Raiyan Hasan
2024-11-20 15:08:42 +00:00
parent 9c657b962b
commit d41a0ac2c2
8 changed files with 86 additions and 2 deletions

View File

@@ -33,6 +33,22 @@ const PROVIDER_LIST: ProviderInfo[] = [
staticModels: [],
getDynamicModels: getOpenAILikeModels
},
{
name: 'Cohere',
staticModels: [
{ name: 'command-r-plus-08-2024', label: 'Command R plus Latest', provider: 'Cohere' },
{ name: 'command-r-08-2024', label: 'Command R Latest', provider: 'Cohere' },
{ name: 'command-r-plus', label: 'Command R plus', provider: 'Cohere' },
{ name: 'command-r', label: 'Command R', provider: 'Cohere' },
{ name: 'command', label: 'Command', provider: 'Cohere' },
{ name: 'command-nightly', label: 'Command Nightly', provider: 'Cohere' },
{ name: 'command-light', label: 'Command Light', provider: 'Cohere' },
{ name: 'command-light-nightly', label: 'Command Light Nightly', provider: 'Cohere' },
{ name: 'c4ai-aya-expanse-8b', label: 'c4AI Aya Expanse 8b', provider: 'Cohere' },
{ name: 'c4ai-aya-expanse-32b', label: 'c4AI Aya Expanse 32b', provider: 'Cohere' },
],
getApiKeyLink: 'https://dashboard.cohere.com/api-keys'
},
{
name: 'OpenRouter',
staticModels: [