浏览代码

新增默认选中

sunsheng 1 月之前
父节点
当前提交
66885f37b8
共有 1 个文件被更改,包括 8 次插入2 次删除
  1. 8 2
      src/pages/deepseek/questionAnswer/info/index.tsx

+ 8 - 2
src/pages/deepseek/questionAnswer/info/index.tsx

@@ -131,7 +131,7 @@ const QuestionAnswerInfo: React.FC = () => {
     const [isVisible, setIsVisible] = React.useState(true);
     const [isVisibleCus, setIsVisibleCus] = React.useState(false);
     const [isVisibleSlice, setIsVisibleSlice] = React.useState(false);
-    const [isVisibleRerank, setIsVisibleRerank] = React.useState(false);
+    const [isVisibleRerank, setIsVisibleRerank] = React.useState(true);
     const [isDeepThinkVisible, setIsDeepThinkVisible] = React.useState(false);
     const [name, setName] = React.useState('');
     const [appTypeList, setAppTypeList] = React.useState<AppTypeList>([]);
@@ -721,9 +721,15 @@ const QuestionAnswerInfo: React.FC = () => {
                         form={form}
                         layout='vertical'
                         initialValues={{
-                            isDeepThink: 'Y',
+                            isDeepThink: 'N',
                             max_token: 4096,
+                            model:'Qwen3-30B',
+                            show_recall_result: true,
+                            rerank_model_name:'rerank',
+                            slice_config_type:'customized',
+                            rerank_status: true,
                             param_desc:'strict',
+                            recall_method:'mixed'
                         }}
                     >
                         <div style={{ display: step === 1 ? 'block' : 'none' }} className='questionAnswerInfo-content'>