diff --git a/frontend/scripts/regression-data-process-wizard.mjs b/frontend/scripts/regression-data-process-wizard.mjs index f73ad83..ad58292 100644 --- a/frontend/scripts/regression-data-process-wizard.mjs +++ b/frontend/scripts/regression-data-process-wizard.mjs @@ -481,6 +481,16 @@ assert.match(generationControlSource, /maxlength="500"/, '默认提示语缺少 assert.match(generationControlSource, /aria-label="输出类型"/, '输出类型选项缺少可访问名称') assert.match(generationControlSource, /<think>推理过程<\/think>/, '思维链选项没有说明最终保存格式') assert.match(generationControlSource, /\.output-type-options[\s\S]*?min-height:\s*44px/, '输出类型选项的点击区域不足 44px') +assert.match( + generationControlSource, + /
[\s\S]*?输出类型<\/strong>[\s\S]*?
/, + '输出类型必须显示在第一步生成选项中,并位于质量筛选之前', +) +const modelGenerationSection = generationControlSource.slice( + generationControlSource.indexOf('
'), +) +assert.doesNotMatch(modelGenerationSection, /输出类型<\/strong>/, '第二步大模型选择不应重复显示输出类型') assert.match(generationControlSource, /\.model-field\s*\{[\s\S]*?display:\s*flex[\s\S]*?flex-direction:\s*column/, '大模型字段没有使用稳定的纵向表单布局') assert.match(generationControlSource, /\.generation-config-group\s*\{[\s\S]*?border:\s*1px solid #e2e5ec/, '大模型配置没有保留统一配置面板边框') assert.match(generationControlSource, /\.model-config-group\s*\{[\s\S]*?padding:\s*0[\s\S]*?border:\s*0/, '独立大模型步骤仍存在嵌套卡片挤压') diff --git a/frontend/src/views/data-process/create/GenerationOptionsPanel.vue b/frontend/src/views/data-process/create/GenerationOptionsPanel.vue index 438de61..af2468d 100644 --- a/frontend/src/views/data-process/create/GenerationOptionsPanel.vue +++ b/frontend/src/views/data-process/create/GenerationOptionsPanel.vue @@ -110,28 +110,6 @@ function modelMeta(model: ModelItem) {
-
-
- 输出类型 - 控制答案是否包含可用于推理模型训练的思维链内容 -
- - 标准回答 - 思维链回答 - -

- - -

-
-
+
+
+ 输出类型 + 控制答案是否包含可用于推理模型训练的思维链内容 +
+ + 标准回答 + 思维链回答 + +

+ + +

+
+
@@ -339,6 +339,15 @@ function modelMeta(model: ModelItem) { } } +.output-type-field { + display: flex; + flex-direction: column; + gap: 8px; + margin-bottom: 14px; + padding-bottom: 14px; + border-bottom: 1px solid #e7eaf0; +} + .output-type-hint { min-height: 20px; margin: 0;