Skip to content

Commit

Permalink
💄 style: add Hunyuan provider icon (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
hezhijie0327 authored Sep 26, 2024
1 parent fd0792f commit ef45525
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ProviderCombine/const.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 Hunyuan from '@/Hunyuan';
import LobeHub from '@/LobeHub';
import Minimax from '@/Minimax';
import Mistral from '@/Mistral';
Expand Down Expand Up @@ -143,4 +144,5 @@ export const providerMappings: ProviderMapping[] = [
{ Icon: Upstage.Combine, keywords: [ModelProvider.Upstage], multiple: 0.9 },
{ Icon: Ai21.Combine, keywords: [ModelProvider.Ai21], multiple: 0.9 },
{ Icon: Github.Combine, keywords: [ModelProvider.Github], multiple: 0.95 },
{ Icon: Hunyuan.Combine, keywords: [ModelProvider.Hunyuan], multiple: 0.9 },
];
3 changes: 3 additions & 0 deletions src/ProviderIcon/const.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import Fireworks from '@/Fireworks';
import Github from '@/Github';
import Google from '@/Google';
import Groq from '@/Groq';
import Hunyuan from '@/Hunyuan';
import type { IconAvatarProps } from '@/IconAvatar';
import type { IconCombineProps } from '@/IconCombine';
import LobeHub from '@/LobeHub';
Expand Down Expand Up @@ -62,6 +63,7 @@ export enum ModelProvider {
Github = 'github',
Google = 'google',
Groq = 'groq',
Hunyuan = 'hunyuan',
LobeHub = 'lobehub',
Minimax = 'minimax',
Mistral = 'mistral',
Expand Down Expand Up @@ -115,4 +117,5 @@ export const providerMappings: ProviderMapping[] = [
{ Icon: Ai21, keywords: [ModelProvider.Ai21] },
{ Icon: Github, keywords: [ModelProvider.Github] },
{ Icon: Doubao, keywords: [ModelProvider.Doubao] },
{ Icon: Hunyuan, keywords: [ModelProvider.Hunyuan] },
];

0 comments on commit ef45525

Please sign in to comment.