This repository was archived by the owner on Jun 24, 2025. It is now read-only.

Description
The old openai client uses a deprecated parameter for httpx. Either pin the httpx version or upgrade the openai client.
Error:
AsyncClient.__init__() got an unexpected keyword argument 'proxies'
Task exception was never retrieved
future: <Task finished name='Task-2' coro=<AsyncClient.aclose() done, defined at C:\Users\Student\miniconda3\Lib\site-packages\httpx\_client.py:1978> exception=AttributeError("'AsyncHttpxClientWrapper' object has no attribute '_state'")>
Traceback (most recent call last):
File "C:\Users\Student\miniconda3\Lib\site-packages\httpx\_client.py", line 1982, in aclose
if self._state != ClientState.CLOSED:
^^^^^^^^^^^
AttributeError: 'AsyncHttpxClientWrapper' object has no attribute '_state'