Skip to content

Commit

Permalink
💄 style: Add Doubao Model (#37)
Browse files Browse the repository at this point in the history
* Update const.ts

* Update const.ts
  • Loading branch information
sxjeru authored Sep 13, 2024
1 parent a8c8163 commit 6f91171
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/ModelIcon/const.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export const modelMappings: ModelMapping[] = [
{ Icon: Baichuan, keywords: ['baichuan'] },
{ Icon: Rwkv, keywords: ['rwkv', '/eagle-'] },
{ Icon: Wenxin, keywords: ['ernie'] },
{ Icon: Doubao, keywords: ['^doubao', 'doubao-'] },
{ Icon: Doubao, keywords: ['^ep-'] },
{ Icon: Hunyuan, keywords: ['hunyuan'] },
{ Icon: FishAudio, keywords: ['^d_', '^g_', '^wd_'] },
{ Icon: ByteDance, keywords: ['skylark'] },
Expand Down
3 changes: 3 additions & 0 deletions src/ProviderIcon/const.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import Azure from '@/Azure';
import Baichuan from '@/Baichuan';
import Bedrock from '@/Bedrock';
import DeepSeek from '@/DeepSeek';
import Doubao from '@/Doubao';
import Fireworks from '@/Fireworks';
import Github from '@/Github';
import Google from '@/Google';
Expand Down Expand Up @@ -56,6 +57,7 @@ export enum ModelProvider {
Baichuan = 'baichuan',
Bedrock = 'bedrock',
DeepSeek = 'deepseek',
Doubao = 'Doubao',
FireworksAI = 'fireworksai',
Github = 'github',
Google = 'google',
Expand Down Expand Up @@ -112,4 +114,5 @@ export const providerMappings: ProviderMapping[] = [
{ Icon: Upstage, keywords: [ModelProvider.Upstage] },
{ Icon: Ai21, keywords: [ModelProvider.Ai21] },
{ Icon: Github, keywords: [ModelProvider.Github] },
{ Icon: Doubao, keywords: [ModelProvider.Doubao] },
];

0 comments on commit 6f91171

Please sign in to comment.