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
Confirm this is an issue with the Python library and not an underlying OpenAI API
This is an issue with the Python library
Describe the bug
Recently, my codebase started to fail while initiating AsyncOpenAi. While debugging, I noticed AsyncOpenAI is using a version of httpx that accept keyword proxies but in the latest version (httpx 0.28.0), this keyword argument is removed from __init__.
To fix it, I manually limited installed httpx to use 0.27.2 which solves the problem but OpenAI SDK should have applied already that limitation on httpx allowed versions.
To Reproduce
Install openai v1.30.1 with latest version of httpx (0.28)
Create a new instance of AsyncOpenAI
You should see the error at the instance creation.
Code snippets
No response
OS
Ubuntu
Python version
3.9
Library version
openai v1.30.1
The text was updated successfully, but these errors were encountered:
Confirm this is an issue with the Python library and not an underlying OpenAI API
Describe the bug
Recently, my codebase started to fail while initiating AsyncOpenAi. While debugging, I noticed AsyncOpenAI is using a version of
httpx
that accept keywordproxies
but in the latest version (httpx 0.28.0), this keyword argument is removed from__init__
.To fix it, I manually limited installed httpx to use
0.27.2
which solves the problem but OpenAI SDK should have applied already that limitation on httpx allowed versions.To Reproduce
httpx
(0.28)Code snippets
No response
OS
Ubuntu
Python version
3.9
Library version
openai v1.30.1
The text was updated successfully, but these errors were encountered: