assert(!modelDialogSource.includes('width="78vw"'),'Model dialog should not use the previous oversized 78vw width')
assert(modelDialogSource.includes('width="860px"'),'Model dialog should use a compact enterprise modal width')
assert(modelDialogSource.includes('model-series-list'),'Model dialog should include a model series list column')
assert(modelDialogSource.includes('model-version-list'),'Model dialog should include a snapshot/version list column')
assert(modelDialogSource.includes('handleConfirm'),'Model dialog should confirm the selected model before updating the form')
assert(source.includes("auto_merge: false"),'Auto merge should default to disabled')
assert(source.includes('v-if="form.train_type === \'SFT\'"'),'Merge model settings should only be visible for SFT')
assert(source.includes('content-position="left">合并模型'),'SFT form should include a merge model section below data configuration')
assert(source.includes('v-model="form.auto_merge"'),'Merge model section should provide an auto merge selector')
assert(source.includes('label="自动合并权重并保存"'),'Auto merge selector should use a clear visible label')
assert((source.match(/auto_merge: form\.train_type === 'SFT' && form\.auto_merge/g)||[]).length===2,'Auto merge should be sent for SFT when creating and starting the task')