Update (openai): Fix token issues

This commit is contained in:
2023-09-25 21:15:33 +08:00
parent 91a1d7d671
commit 7637a258f2

View File

@@ -123,6 +123,7 @@ public static function chatCompletion($system_prompt, $user_prompt, $model, $max
catch(Exception $e) {
Log::error($response->body());
inspector()->reportException($e);
throw($e);
}