You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OpenAI has updated their API, and the openai.error.OpenAIError no longer exists. You need to modify it to openai.OpenAIError for the code to work. However, making this change will trigger a warning, which recommend to downgrade the version to below 0.28.
OpenAI has updated their API, and the
openai.error.OpenAIError
no longer exists. You need to modify it toopenai.OpenAIError
for the code to work. However, making this change will trigger a warning, which recommend to downgrade the version to below 0.28.AttributeError: module ‘openai’ has no attribute ‘error’
The text was updated successfully, but these errors were encountered: