Skip to content

Commit

Permalink
💄 style: Reorder the provider list (lobehub#3886)
Browse files Browse the repository at this point in the history
* Update providers.tsx

* Update index.ts

* Update providers.tsx

* Update index.ts
  • Loading branch information
LovelyGuYiMeng authored Sep 10, 2024
1 parent 66ce743 commit 4d641f5
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 24 deletions.
22 changes: 11 additions & 11 deletions src/app/(main)/settings/llm/ProviderList/providers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,31 +40,31 @@ export const useProviderList = (): ProviderItem[] => {
return useMemo(
() => [
OpenAIProvider,
OllamaProvider,
AzureProvider,
GoogleProviderCard,
OllamaProvider,
AnthropicProviderCard,
BedrockProvider,
GroqProviderCard,
GoogleProviderCard,
DeepSeekProviderCard,
OpenRouterProviderCard,
GroqProviderCard,
NovitaProviderCard,
PerplexityProviderCard,
MistralProviderCard,
TogetherAIProviderCard,
FireworksAIProviderCard,
UpstageProviderCard,
QwenProviderCard,
DeepSeekProviderCard,
MinimaxProviderCard,
MistralProviderCard,
MoonshotProviderCard,
PerplexityProviderCard,
SparkProviderCard,
ZhiPuProviderCard,
ZeroOneProviderCard,
StepfunProviderCard,
MoonshotProviderCard,
BaichuanProviderCard,
TaichuProviderCard,
MinimaxProviderCard,
Ai360ProviderCard,
SiliconCloudProviderCard,
UpstageProviderCard,
SparkProviderCard,
TaichuProviderCard,
],
[AzureProvider, OllamaProvider, OpenAIProvider, BedrockProvider],
);
Expand Down
26 changes: 13 additions & 13 deletions src/config/modelProviders/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,30 +58,30 @@ export const LOBE_DEFAULT_MODEL_LIST: ChatModelCard[] = [
export const DEFAULT_MODEL_PROVIDER_LIST = [
OpenAIProvider,
{ ...AzureProvider, chatModels: [] },
QwenProvider,
OllamaProvider,
AnthropicProvider,
DeepSeekProvider,
BedrockProvider,
GoogleProvider,
DeepSeekProvider,
OpenRouterProvider,
TogetherAIProvider,
FireworksAIProvider,
BedrockProvider,
GroqProvider,
NovitaProvider,
PerplexityProvider,
MinimaxProvider,
MistralProvider,
GroqProvider,
MoonshotProvider,
ZeroOneProvider,
TogetherAIProvider,
FireworksAIProvider,
UpstageProvider,
QwenProvider,
SparkProvider,
ZhiPuProvider,
ZeroOneProvider,
StepfunProvider,
NovitaProvider,
MoonshotProvider,
BaichuanProvider,
TaichuProvider,
MinimaxProvider,
Ai360Provider,
SiliconCloudProvider,
UpstageProvider,
SparkProvider,
TaichuProvider,
];

export const filterEnabledModels = (provider: ModelProviderCard) => {
Expand Down

0 comments on commit 4d641f5

Please sign in to comment.