Sfoglia il codice sorgente

批改不成功的话加上批改失败的分析

11wqe1 1 settimana fa
parent
commit
50a8a4c724
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      cocostudy.js

+ 1 - 0
cocostudy.js

@@ -135,6 +135,7 @@ const gradeQuestionWithRetry = async (aiBatchCorrection, params, workId, questio
       }
     }
   }
+  saveToAiBatchCorrection(aiBatchCorrection, workId, questionId, 0, "批改失败");
   throw lastErr;
 };