diff --git a/app/Services/AiService.php b/app/Services/AiService.php index f07c07a5..5d90e6b5 100644 --- a/app/Services/AiService.php +++ b/app/Services/AiService.php @@ -73,6 +73,7 @@ public function chainPrompt( ->withMaxTokens($maxTokens) ->withMaxSteps($maxSteps) ->withTools($tools) + ->withClientOptions(['timeout' => 120]) // Some model reply very slow, so we need to increase timeout. ->generate(); return $reponse;