Skip to content

Commit

Permalink
💄 style: improve model tags
Browse files Browse the repository at this point in the history
  • Loading branch information
arvinxx committed Mar 17, 2024
1 parent 9fa4c11 commit 11cd5f4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
"@lobehub/chat-plugins-gateway": "latest",
"@lobehub/icons": "latest",
"@lobehub/tts": "latest",
"@lobehub/ui": "latest",
"@lobehub/ui": "^1.133.3",
"@vercel/analytics": "^1",
"ahooks": "^3",
"ai": "^3.0.0",
Expand Down
5 changes: 5 additions & 0 deletions src/components/ModelProviderIcon/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import {
Moonshot,
Ollama,
OpenAI,
OpenRouter,
Perplexity,
Zhipu,
} from '@lobehub/icons';
Expand Down Expand Up @@ -74,6 +75,10 @@ const ModelProviderIcon = memo<ModelProviderIconProps>(({ provider }) => {
return <Groq size={20} />;
}

case ModelProvider.OpenRouter: {
return <OpenRouter size={20} />;
}

default: {
return null;
}
Expand Down

0 comments on commit 11cd5f4

Please sign in to comment.