Closed kadnan closed 8 months ago
Hi @kadnan
Not sure what the issue is here, but looks like your code is a bit messed up. You are not updating the $run
.
Maybe my example here does help you: https://gehri.dev/blog/how-to-use-the-openai-assistants-api-in-php-and-laravel
Otherwise please provide a sample repository to which reproduces the issue.
Description
I am trying to run an assistant,
>threads()->messages()->list
and$allMessages->data
is returning the following response only:It is not returning the response by the Assistant.
Steps To Reproduce
The code:
Function Definition
OpenAI PHP Client Version
0.8.1
PHP Version
8.1
Notes
No response