fix: chat 页有些手机无法加载

This commit is contained in:
archer
2023-04-08 13:21:03 +08:00
parent b7cd4dec89
commit 9a145f223f
5 changed files with 66 additions and 73 deletions

View File

@@ -127,7 +127,7 @@ const SelectFileModal = ({
tokens
</Box>
<Box mt={2}>
{encode(fileText).length} tokens {formatPrice(encode(fileText).length * 4)}
{encode(fileText).length} tokens {formatPrice(encode(fileText).length * 3)}
</Box>
<Flex w={'100%'} alignItems={'center'} my={4}>

View File

@@ -106,7 +106,7 @@ const SelectUrlModal = ({
QA tokens
</Box>
<Box mt={2}>
{encode(webText).length} tokens {formatPrice(encode(webText).length * 4)}
{encode(webText).length} tokens {formatPrice(encode(webText).length * 3)}
</Box>
<Flex w={'100%'} alignItems={'center'} my={4}>
<Box flex={'0 0 70px'}></Box>