You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OpenAI\Responses\Completions\CreateResponseChoice::__construct(): Argument #4 ($finishReason) must be of type string, null given, called in /var/www/vendor/openai-php/client/src/Responses/Completions/CreateResponseChoice.php on line 24
$attributes from \OpenAI\Responses\Completions\CreateResponseChoice::from:
A recent change to the OpenAI API means that finish_reason is sometimes returned as NULL and causes an exception.
This change allows finishReason to be nullable.
Sometimes getting error:
$attributes from
\OpenAI\Responses\Completions\CreateResponseChoice::from
:The text was updated successfully, but these errors were encountered: