Skip to content

Commit

Permalink
💄 style: Add HuggingFace to ProviderIcon
Browse files Browse the repository at this point in the history
  • Loading branch information
canisminor1990 committed Sep 30, 2024
1 parent 1da0dd9 commit f3f9e7e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/features/providerConfig.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import Gemini from '@/Gemini';
import Github from '@/Github';
import Google from '@/Google';
import Groq from '@/Groq';
import HuggingFace from '@/HuggingFace';
import Hunyuan from '@/Hunyuan';
import LobeHub from '@/LobeHub';
import Minimax from '@/Minimax';
Expand Down Expand Up @@ -160,4 +161,5 @@ export const providerMappings: ProviderMapping[] = [
keywords: [ModelProvider.Wenxin],
},
{ Icon: SenseNova, combineMultiple: 0.95, keywords: [ModelProvider.SenseNova] },
{ Icon: HuggingFace, combineMultiple: 1.16, keywords: [ModelProvider.HuggingFace] },
];
3 changes: 2 additions & 1 deletion src/features/providerEnum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export enum ModelProvider {
Github = 'github',
Google = 'google',
Groq = 'groq',
HuggingFace = 'huggingface',
Hunyuan = 'hunyuan',
LobeHub = 'lobehub',
Minimax = 'minimax',
Expand All @@ -31,7 +32,7 @@ export enum ModelProvider {
Upstage = 'upstage',
Wenxin = 'wenxin',
ZeroOne = 'zeroone',
ZhiPu = 'zhipu',
ZhiPu = 'zhipu'
}

export type ModelProviderKey = Lowercase<keyof typeof ModelProvider>;

0 comments on commit f3f9e7e

Please sign in to comment.