Skip to content

Commit 47c618c

Browse files
committed
chore: 移除不支持的设置
1 parent 368365f commit 47c618c

File tree

1 file changed

+0
-75
lines changed

1 file changed

+0
-75
lines changed

ui/src/pages/model/components/modelModal.tsx

Lines changed: 0 additions & 75 deletions
Original file line numberDiff line numberDiff line change
@@ -798,81 +798,6 @@ const ModelAdd = ({
798798
/>
799799
)}
800800
/>
801-
802-
<Controller
803-
control={control}
804-
name='support_image'
805-
render={({ field }) => (
806-
<FormControlLabel
807-
control={
808-
<Checkbox
809-
checked={field.value}
810-
onChange={(e) => field.onChange(e.target.checked)}
811-
size='small'
812-
/>
813-
}
814-
label={
815-
<Box sx={{ fontSize: 12 }}>
816-
图像支持
817-
<Box component="span" sx={{ ml: 1, color: 'text.secondary', fontSize: 11 }}>
818-
(此模型是否能够处理和理解图像?)
819-
</Box>
820-
</Box>
821-
}
822-
sx={{ margin: 0 }}
823-
/>
824-
)}
825-
/>
826-
827-
<Controller
828-
control={control}
829-
name='support_compute'
830-
render={({ field }) => (
831-
<FormControlLabel
832-
control={
833-
<Checkbox
834-
checked={field.value}
835-
onChange={(e) => field.onChange(e.target.checked)}
836-
size='small'
837-
/>
838-
}
839-
label={
840-
<Box sx={{ fontSize: 12 }}>
841-
计算机功能调用
842-
<Box component="span" sx={{ ml: 1, color: 'text.secondary', fontSize: 11 }}>
843-
(此模型是否能够与浏览器交互?)
844-
</Box>
845-
</Box>
846-
}
847-
sx={{ margin: 0 }}
848-
/>
849-
)}
850-
/>
851-
852-
<Controller
853-
control={control}
854-
name='support_prompt_caching'
855-
render={({ field }) => (
856-
<FormControlLabel
857-
control={
858-
<Checkbox
859-
checked={field.value}
860-
onChange={(e) => field.onChange(e.target.checked)}
861-
size='small'
862-
/>
863-
}
864-
label={
865-
<Box sx={{ fontSize: 12 }}>
866-
提示缓存
867-
<Box component="span" sx={{ ml: 1, color: 'text.secondary', fontSize: 11 }}>
868-
(此模型是否能够缓存提示?)
869-
</Box>
870-
</Box>
871-
}
872-
sx={{ margin: 0 }}
873-
/>
874-
)}
875-
/>
876801
</Stack>
877802
</Stack>
878803
</AccordionDetails>

0 commit comments

Comments
 (0)