feat: add background image to login page and alter tooltip of base_url and add llm type to Added models List (#173)

* feat: add llm type to Added models List

* feat: alter tooltip of base_url

* feat: add background image to login page
This commit is contained in:
balibabu
2024-03-29 16:15:12 +08:00
committed by GitHub
parent ffed0876f2
commit 204385a7bf
9 changed files with 244 additions and 27 deletions

View File

@ -24,6 +24,7 @@ import {
Row,
Space,
Spin,
Tag,
Typography,
} from 'antd';
import { useCallback } from 'react';
@ -105,7 +106,13 @@ const ModelCard = ({ item, clickApiKey }: IModelCardProps) => {
size="small"
dataSource={item.llm}
className={styles.llmList}
renderItem={(item) => <List.Item>{item.name}</List.Item>}
renderItem={(item) => (
<List.Item>
<Space>
{item.name} <Tag color="#b8b8b8">{item.type}</Tag>
</Space>
</List.Item>
)}
/>
)}
</Card>