This commit is contained in:
archer
2023-07-18 21:51:31 +08:00
parent 51b98df4cb
commit 7fe2017ab6
6 changed files with 22 additions and 15 deletions

View File

@@ -43,7 +43,7 @@ const NodeChat = ({
return (
<MySelect
width={'100%'}
value={inputItem.value}
value={inputItem.value || chatModelList[0]?.model}
list={list}
onchange={(e) => {
onChangeNode({

View File

@@ -113,6 +113,7 @@ const CreateModal = ({ onClose, onSuccess }: { onClose: () => void; onSuccess: (
<Flex mt={3} alignItems={'center'}>
<MyTooltip label={'点击设置头像'}>
<Avatar
flexShrink={0}
src={getValues('avatar')}
w={['32px', '36px']}
h={['32px', '36px']}
@@ -122,6 +123,7 @@ const CreateModal = ({ onClose, onSuccess }: { onClose: () => void; onSuccess: (
/>
</MyTooltip>
<Input
flex={1}
ml={4}
autoFocus
bg={'myWhite.600'}