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
New Assistants API requires the OpenAI-Beta: assistants=v2 header. However it seems v1 is hardcoded in the library.
OpenAI-Beta: assistants=v2
v1
API now returns "The requested model 'gpt-4o' cannot be used with the Assistants API in v1. Follow the migration guide to upgrade to v2: https://platform.openai.com/docs/assistants/migration."
Send request to any of the Assistants endpoint with gpt-4o model.
No response
Any
5.1
The text was updated successfully, but these errors were encountered:
If it's possible, could you please open a pr for this issue?
Thanks.
Sorry, something went wrong.
Issue addressed in PR #141
Sorry for the delay, thank you so much.
No branches or pull requests
Describe the bug
New Assistants API requires the
OpenAI-Beta: assistants=v2
header. However it seemsv1
is hardcoded in the library.API now returns "The requested model 'gpt-4o' cannot be used with the Assistants API in v1. Follow the migration guide to upgrade to v2: https://platform.openai.com/docs/assistants/migration."
To Reproduce
Send request to any of the Assistants endpoint with gpt-4o model.
Code snippets
No response
OS
Any
PHP version
Any
Library version
5.1
The text was updated successfully, but these errors were encountered: