We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I added a message with a picture to the thread and an exception occurred
$message_content = [ ['type' => 'text', 'text' => '666'], ['type' => 'image_url', 'image_url' => ['url' => 'https://www.xxx.xxx/xxx.jpg']], ]; OpenAI::threads()->messages()->create($thread_id, [ 'role' => 'user', 'content' => $message_content, ]);
Undefined array key "file_id" {"exception":"[object] (ErrorException(code: 0): Undefined array key \"file_id\" at /var/www/html/vendor/openai-php/client/src/Responses/Threads/Messages/ThreadMessageResponseContentImageUrl.php:37)
I found this file and printed $attributes and got the following
{"url":"https://www.xxx.xxx/xxx.jpg","detail":"auto"}
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I added a message with a picture to the thread and an exception occurred
I found this file and printed $attributes and got the following
The text was updated successfully, but these errors were encountered: