Skip to content

Commit 4d46e81

Browse files
authored
💄 style: support cohere provider (#88)
1 parent 9b2db0b commit 4d46e81

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/features/providerConfig.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import BaiduCloud from '@/BaiduCloud';
1313
import Bedrock from '@/Bedrock';
1414
import Claude from '@/Claude';
1515
import Cloudflare from '@/Cloudflare';
16+
import Cohere from '@/Cohere';
1617
import DeepSeek from '@/DeepSeek';
1718
import Doubao from '@/Doubao';
1819
import Fireworks from '@/Fireworks';
@@ -207,4 +208,5 @@ export const providerMappings: ProviderMapping[] = [
207208
{ Icon: AzureAI, keywords: [ModelProvider.AzureAI] },
208209
{ Icon: Volcengine, keywords: [ModelProvider.Volcengine] },
209210
{ Icon: SambaNova, combineMultiple: 0.85, keywords: [ModelProvider.SambaNova] },
211+
{ Icon: Cohere, keywords: [ModelProvider.Cohere] },
210212
];

src/features/providerEnum.ts

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ export enum ModelProvider {
77
Baichuan = 'baichuan',
88
Bedrock = 'bedrock',
99
Cloudflare = 'cloudflare',
10+
Cohere = 'cohere',
1011
DeepSeek = 'deepseek',
1112
Doubao = 'Doubao',
1213
FireworksAI = 'fireworksai',

0 commit comments

Comments
 (0)