OpenAI\Responses\Completions\CreateResponseChoice::__construct(): Argument #4 ($finishReason) must be of type string,
prateekshaweb opened this issue · comments
I am getting an error
! am getting this error
TypeError
PHP 8.1.16
9.52.4
OpenAI\Responses\Completions\CreateResponseChoice::__construct(): Argument #4 ($finishReason) must be of type string, null given, called in /mnt/sda1/webdesign/wpsseo/vendor/openai-php/client/src/Responses/Completions/CreateResponseChoice.php on line 26
Fixed.