Skip to content

Commit 5cda2d9

Browse files
authored
Merge pull request #54 from chaitin/fix-modelmodal-display
fix: 从高级设置显示条件中添加analysis类型
2 parents c1235e5 + ce00027 commit 5cda2d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/ModelModal/src/ModelModal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -775,7 +775,7 @@ export const ModelModal: React.FC<ModelModalProps> = ({
775775
</>
776776
)}
777777
{/* 高级设置部分 - 在选择了模型或者是其它供应商时显示,但不包括embedding、rerank、reranker、analysis类型 */}
778-
{(modelUserList.length !== 0 || providerBrand === 'Other') && !['embedding', 'rerank', 'reranker', 'analysis'].includes(model_type) && (
778+
{(modelUserList.length !== 0 || providerBrand === 'Other') && !['embedding', 'rerank', 'reranker'].includes(model_type) && (
779779
<Box sx={{ mt: 2 }}>
780780
<Accordion
781781
sx={{

0 commit comments

Comments
 (0)