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
$threadRun = $openAi->threads() ->createAndRun([ 'assistant_id' => $assistantId, 'thread' => [ 'messages' => [ [ 'role' => 'user', 'content' => $message, ], ], ], ]);
exception : "ErrorException" file : "/usr/src/app/vendor/openai-php/client/src/Responses/Threads/Runs/ThreadRunResponse.php" line : 89 message : "Undefined array key "file_ids""
namespace OpenAI\Responses\Threads\Runs; If I put on ThreadRunResponse.php line 89 $attributes['file_ids'] ?? [] it works
The text was updated successfully, but these errors were encountered:
have same problem, happend after migrating from v1 to v2
Sorry, something went wrong.
No branches or pull requests
$threadRun = $openAi->threads()
->createAndRun([
'assistant_id' => $assistantId,
'thread' => [
'messages' => [
[
'role' => 'user',
'content' => $message,
],
],
],
]);
exception
:
"ErrorException"
file
:
"/usr/src/app/vendor/openai-php/client/src/Responses/Threads/Runs/ThreadRunResponse.php"
line
:
89
message
:
"Undefined array key "file_ids""
namespace OpenAI\Responses\Threads\Runs;
If I put on ThreadRunResponse.php
line 89
$attributes['file_ids'] ?? []
it works
The text was updated successfully, but these errors were encountered: