-
Notifications
You must be signed in to change notification settings - Fork 769
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
TypeError: API.Completions is not a constructor #897
Labels
bug
Something isn't working
Comments
Hi @NatoBoram |
Confirmed as fixed in Sentry v8.13.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Confirm this is a Node library issue and not an underlying OpenAI API issue
Describe the bug
Calling
new OpenAI()
fails when Sentry is preloaded.To Reproduce
new OpenAI()
Code snippets
This is the code that fails:
It fails when the project is started with
node --import @sentry/node/preload
.OS
Pop!_OS 22.04 LTS x86_64
Node version
v22.3.0
Library version
^4.51.0
The text was updated successfully, but these errors were encountered: