mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-27 00:17:31 +00:00
feat: dataset quote role support system; fix: adapt o1 model (#2733)
* feat: dataset quote support system role * perf: adapt dataset quote role * fix: adapt o1 model
This commit is contained in:
18
packages/web/components/common/LightTip/index.tsx
Normal file
18
packages/web/components/common/LightTip/index.tsx
Normal file
@@ -0,0 +1,18 @@
|
||||
import React from 'react';
|
||||
import { Box, HStack, Icon, StackProps } from '@chakra-ui/react';
|
||||
|
||||
const LightTip = ({
|
||||
text,
|
||||
...props
|
||||
}: {
|
||||
text: string;
|
||||
} & StackProps) => {
|
||||
return (
|
||||
<HStack px="3" py="1" color="primary.600" bgColor="primary.50" borderRadius="md" {...props}>
|
||||
<Icon name="common/info" w="1rem" />
|
||||
<Box fontSize={'sm'}>{text}</Box>
|
||||
</HStack>
|
||||
);
|
||||
};
|
||||
|
||||
export default LightTip;
|
Reference in New Issue
Block a user