Open maximepeabody opened 3 weeks ago
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 1.31.0
and there's no error.
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)