fix: do not check the required fields for evaluation, #2191

This commit is contained in:
jialin
2025-06-25 14:35:00 +08:00
parent a6825f7ee3
commit adfdf41e85
2 changed files with 3 additions and 13 deletions
+1 -13
View File
@@ -502,13 +502,9 @@ export const useCheckCompatibility = () => {
};
};
const handleDoEvalute = async (
formData: FormData,
evaluateProccess?: 'model' | 'file' | 'form'
) => {
const handleDoEvalute = async (formData: FormData) => {
const currentRequestId = updateRequestId();
const evalutionData = await handleEvaluate(formData);
if (currentRequestId === requestIdRef.current) {
handleShowCompatibleAlert?.(evalutionData);
return evalutionData;
@@ -550,14 +546,6 @@ export const useCheckCompatibility = () => {
return;
}
if (checkRequiredValue(allValues)) {
setWarningStatus({
show: false,
title: '',
message: ''
});
return;
}
cacheFormValuesRef.current = allValues;
const data = getSourceRepoConfigValue(source, allValues);
const gpuSelector = generateGPUIds(data.values);