The creating a run with the following php code always ends with failed. If you want to reproduce, please note I do not create an assistant and please point it to an existing assistant of yours. When I open the playground with said thread and ask for a run, the assistant works as expected.
Replacing the api key (with only threads access) with an all access api key solved the problem. Sorry to bother you guys, we might want to leave it online for future reference.
Description
The creating a run with the following php code always ends with failed. If you want to reproduce, please note I do not create an assistant and please point it to an existing assistant of yours. When I open the playground with said thread and ask for a run, the assistant works as expected.
Output:
When I open the playground with said thread and ask for a run, the assistant works as expected.
Steps To Reproduce
See the php script above, change the api key and the assistant id to values valid for your environment and run the script.
OpenAI PHP Client Version
0.8.4
PHP Version
8.1
Notes
Requesting the run steps returns an empty array: