Skip to content

Commit

Permalink
💄 style: add nvidia as provider (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
arvinxx authored Feb 14, 2025
1 parent be77d0d commit 06979a1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/features/providerConfig.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ import WorkersAI from '@/WorkersAI';
import XAI from '@/XAI';
import ZeroOne from '@/ZeroOne';
import Zhipu from '@/Zhipu';
import { Nvidia } from '@/icons';
import type { IconType } from '@/types';

import type { IconAvatarProps } from './IconAvatar';
Expand Down Expand Up @@ -159,6 +160,7 @@ export const providerMappings: ProviderMapping[] = [
{ Icon: Doubao, keywords: [ModelProvider.Doubao] },
{ Icon: Hunyuan, keywords: [ModelProvider.Hunyuan] },
{ Icon: TencentCloud, keywords: [ModelProvider.TencentCloud] },
{ Icon: Nvidia, keywords: [ModelProvider.Nvidia] },
{
Combine: memo(({ size = 24, type = 'color', ...props }) => (
<Combine
Expand Down
1 change: 1 addition & 0 deletions src/features/providerEnum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export enum ModelProvider {
ModelScope = 'modelscope',
Moonshot = 'moonshot',
Novita = 'novita',
Nvidia = 'nvidia',
Ollama = 'ollama',
OpenAI = 'openai',
OpenRouter = 'openrouter',
Expand Down

0 comments on commit 06979a1

Please sign in to comment.