Description
Introduced in v0.17.0 #688
Error:
You must provide the 'OpenAI-Beta' header to access the Assistants API. Please try again by setting the header 'OpenAI-Beta: assistants=v2'.
The OpenAI-Beta: assistants=v2 was added to the assistant resource but its needed also on other assistant-related resources such as:
Steps To Reproduce
OpenAI::threads()->createAndRunStreamed([
'assistant_id' => 'assistant_id',
'model' => 'model_id',
'thread' => [
'messages' => [
[
'role' => 'user',
'content' => 'test',
],
],
],
])
OpenAI PHP Client Version
v0.17.0
PHP Version
8.3.22
Notes
No response