-
Notifications
You must be signed in to change notification settings - Fork 45
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
No module named 'openai._legacy_response' #234
Comments
1.3.5 is more than 7 months old (see https://pypi.org/project/openai/1.3.5/), while the latest release is 1.31.0. Any chance you can just upgrade openai? |
Just tried upgrading, but that didn't work either. I actually had it to 1.31.0 originally, and I was testing out if downgrading would fix it! |
If I run this code: import openai
print(openai.__version__)
import openai._legacy_response it prints |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
I'm trying to integrate with openai. I have openai==1.3.5
I'm seeing this error:
No module named 'openai._legacy_response'
My code is like:
openai_client = openai.Client()
logfire.configure()
logfire.instrument_openai(openai_client)
Python, Logfire & OS Versions, related packages (not required)
The text was updated successfully, but these errors were encountered: