-
Notifications
You must be signed in to change notification settings - Fork 3.8k
ValueError for missing api_version when calling with_options() on an (Async)AzureOpenAI client instance #779
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
Comments
Thanks for reporting, we'll try to fix this on Monday. |
Still running into this on openai-1.3.3 client. |
Thank you for following up @Mikkolehtimaki , I'm so sorry we let this slip! We'll take a look soon. |
This will be fixed in the next release, sorry for the delay! |
Still not fixed |
This should have been fixed in #858 which was released in https://github.com/openai/openai-python/releases/tag/v1.3.5 Can you try that version and share the traceback you see, along with your code causing it? |
Can confirm that 1.3.5 works! |
I have same error with the following set of requirements: openai==1.10.0 |
…-changes--next--components--openai release: 4.37.1
Confirm this is an issue with the Python library and not an underlying OpenAI API
Describe the bug
Calling
with_options()
on an AzureOpenAI or AsyncAzureOpenAI client instance throws a ValueError exception:To Reproduce
Initialize an AzureOpenAI client and call
with_options()
on it.Code snippets
OS
ubuntu 22.04
Python version
v3.10.12
Library version
opeanai v1.1.2
The text was updated successfully, but these errors were encountered: