Skip to content

Commit

Permalink
🐛 fix: fix qwen model id and improve anthropic logo text color (lobeh…
Browse files Browse the repository at this point in the history
…ub#1524)

* 💄 style: improve llm order

* 🐛 fix: fix qwen model id

* 🐛 fix: fix qwen model id

* 🐛 fix: fix Anthropic color
  • Loading branch information
arvinxx committed Mar 10, 2024
1 parent f8566e4 commit c68f5da
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions src/app/settings/llm/Anthropic/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Anthropic } from '@lobehub/icons';
import { Anthropic, Claude } from '@lobehub/icons';
import { Input } from 'antd';
import { useTheme } from 'antd-style';
import { memo } from 'react';
Expand Down Expand Up @@ -41,7 +41,7 @@ const AnthropicProvider = memo(() => {
provider={providerKey}
title={
<Anthropic.Text
color={theme.isDarkMode ? theme.colorText : Anthropic.colorPrimary}
color={theme.isDarkMode ? theme.colorText : Claude.colorPrimary}
size={18}
/>
}
Expand Down
8 changes: 4 additions & 4 deletions src/app/settings/llm/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ export default memo<{ showOllama: boolean }>(({ showOllama }) => {
<PageTitle title={t('tab.llm')} />
<OpenAI />
{/*<AzureOpenAI />*/}
<Zhipu />
<Moonshot />
{showOllama && <Ollama />}
<Anthropic />
<Google />
<Bedrock />
<Perplexity />
<Anthropic />
<Mistral />
{showOllama && <Ollama />}
<Moonshot />
<Zhipu />
<Footer>
<Trans i18nKey="llm.waitingForMore" ns={'setting'}>
更多模型正在
Expand Down
8 changes: 4 additions & 4 deletions src/config/modelProviders/ollama.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,23 +88,23 @@ const Ollama: ModelProviderCard = {
{
displayName: 'Qwen Chat 7B',
functionCall: false,
id: 'qwen:7b-chat',
id: 'qwen:7b',
tokens: 32_768,
vision: false,
},
{
displayName: 'Qwen Chat 14B',
functionCall: false,
hidden: true,
id: 'qwen:14b-chat',
id: 'qwen:14b',
tokens: 32_768,
vision: false,
},
{
displayName: 'Qwen Chat 70B',
displayName: 'Qwen Chat 72B',
functionCall: false,
hidden: true,
id: 'qwen:70b-chat',
id: 'qwen:72b',
tokens: 32_768,
vision: false,
},
Expand Down

0 comments on commit c68f5da

Please sign in to comment.