fix: eval

This commit is contained in:
Han Xiao
2025-03-11 16:12:35 +08:00
parent 87ff3e61e8
commit a5c60c67dc

View File

@@ -468,7 +468,7 @@ Your journey ends here. You have successfully answered the original question. Co
if (evaluation.type === 'strict') {
finalAnswerPIP = evaluation.improvement_plan || '';
// remove 'strict' from the evaluation metrics
evaluationMetrics[currentQuestion] = evaluationMetrics[currentQuestion].filter(e => e === 'strict');
evaluationMetrics[currentQuestion] = evaluationMetrics[currentQuestion].filter(e => e !== 'strict');
}
if (badAttempts >= maxBadAttempts) {
thisStep.isFinal = false;