update: change api response for submit assessment function

This commit is contained in:
abiyasa05 2025-07-06 10:03:31 +07:00
parent dd1ec42bd3
commit dab887965a

View File

@ -245,7 +245,7 @@ public function submitAssessment($id)
$correctWeight += $weight;
} else {
try {
$apiResponse = Http::timeout(10)->post('http://127.0.0.1:8010/generate-feedback/', [
$apiResponse = Http::timeout(300)->post('http://127.0.0.1:8010/generate-feedback/', [
'user_answer' => $answer->answer_text,
'expected_answer' => $bestMatch,
'question_text' => $question->question_text,