Skip to content
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

报错:Configuration is not a constructor #86

Open
sunnyswufe opened this issue Mar 24, 2024 · 0 comments
Open

报错:Configuration is not a constructor #86

sunnyswufe opened this issue Mar 24, 2024 · 0 comments

Comments

@sunnyswufe
Copy link

代码好像更新了,
const {Configuration, OpenAIApi} = require("openai");
引入openai的依赖之后,
image
仍然会报错:
Configuration is not a constructor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant