diff --git a/controllers/api.php b/controllers/api.php index f118019..fd243a7 100644 --- a/controllers/api.php +++ b/controllers/api.php @@ -218,7 +218,7 @@ public function requestOpenai(string $prompt, \Courseware\Block $block, array $b 'content' => $prompt, ], ], - 'max_tokens' => 200, + 'max_tokens' => 500, 'temperature' => 0.9, 'top_p' => 1, 'frequency_penalty' => 0,