generated from spatie/package-skeleton-php
-
-
Notifications
You must be signed in to change notification settings - Fork 277
New issue
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
OpenAI-Beta: assistants=v2 #140
Labels
bug
Something isn't working
Comments
If it's possible, could you please open a pr for this issue? Thanks. |
Issue addressed in PR #141 |
Sorry for the delay, thank you so much. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: