-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
v2.7.0b1 throws error when using OpenAI SDK #9191
Comments
Great catch, thank you. We'll look into it. |
Could you please provide the full traceback? Thanks! |
Also, could you share the full output of |
Oh nevermind, I was able to reproduce it once I switched to python 3.9 |
We've found the issue and will open a PR with a fix shortly! Should be fixed for 2.7 :). |
Awesome, thank you! Would love to test a |
@willbakst I think this is a small enough fix that we'll just go ahead with 2.7, but perhaps you could test against main to confirm things are working as expected on your end? |
@willbakst I also confirmed I was able to run your snippet (substituting a valid API key) and successfully get output (and it even had |
Initial Checks
Description
Trying to generate a simple chat completion (as in below code example) throws:
I've confirmed that this does not happen with previous versions >2.0 and <2.7
Example Code
Python, Pydantic & OS Version
The text was updated successfully, but these errors were encountered: