Update (openai): Fix token issues
This commit is contained in:
@@ -123,6 +123,7 @@ public static function chatCompletion($system_prompt, $user_prompt, $model, $max
|
|||||||
catch(Exception $e) {
|
catch(Exception $e) {
|
||||||
Log::error($response->body());
|
Log::error($response->body());
|
||||||
inspector()->reportException($e);
|
inspector()->reportException($e);
|
||||||
|
throw($e);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user