I get an error when I create a request chat()->create #267
Closed
rocknroll88
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I get an error when I create a request .
version "openai-php/client": "0.7.10",
$result = $client->chat()->create([
'model' => 'gpt-4',
'messages' => [
['role' => 'user', 'content' => 'Hello!'],
],
]);
OpenAI\Exceptions\UnserializableResponse: Syntax error in file /var/www/html/vendor/openai-php/client/src/Transporters/HttpTransporter.php on line 63
Beta Was this translation helpful? Give feedback.
All reactions