-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
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
httpx version 0.28.0 removes the deprecated proxies argument; this argument is hardcoded in the library at the moment.
To Reproduce
- Update to httpx version 0.28.0
Code snippets
File "/var/lang/lib/python3.10/site-packages/openai/_client.py", line 337, in __init__
super().__init__(
File "/var/lang/lib/python3.10/site-packages/openai/_base_client.py", line 1438, in __init__
self._client = http_client or AsyncHttpxClientWrapper(
File "/var/lang/lib/python3.10/site-packages/openai/_base_client.py", line 1335, in __init__
super().__init__(**kwargs)
TypeError: AsyncClient.__init__() got an unexpected keyword argument 'proxies'
OS
macOS
Python version
Python 3.10.12
Library version
openai-1.55.2
dgellow, GriesserP, derluke, busbaby, guicbrito and 5 more
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working