-
Notifications
You must be signed in to change notification settings - Fork 756
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
file_ids
incorrectly deprecated, causing runtime errors
#883
Comments
Hey @ffxsam sorry for the trouble here. I agree that the changelog could have been clearer. The convention that we are using is that breaking changes in the The equivalent in the latest version would be:
|
@meorphis Thanks for the help! I understand you have a convention, but package managers follow their own convention. Beta packages use |
Thanks for the feedback. There's unfortunately no perfect option here. Since the openai package itself is not (and cannot be) a beta package, if we wanted the beta functionality to have its own versioning we would have to split it into its own package and users of the openai package wouldn't have access to these features. So that's why we've landed where we have. But we do understand that the convention we're using is uncommon so it's helpful to hear from users when it breaks workflows. We really appreciate the feedback and will continue to evaluate the options in future releases. |
Confirm this is a Node library issue and not an underlying OpenAI API issue
Describe the bug
I just updated
openai
from 4.28.0 to 4.48.2. I'm now seeing this error in my Lambda function:If I open my code, I see that
file_ids
is no longer a valid property in the code snippet cited below.I'm curious why a breaking change was introduced, and
openai
's major version was not bumped to 5.x.x as is standard practice with semver. Looking through the changelog, I also see no mention of breaking changes.To Reproduce
See code snippet.
Code snippets
OS
macOS
Node version
Node v20.14.0
Library version
openai 4.48.2
The text was updated successfully, but these errors were encountered: