Spaces:
Running
on
Zero
Running
on
Zero
Fix for OpenAI Support
#29
by
danielplominski
- opened
Hi,
thanks for the work but unfortunately the OpenAI support in the Docker container is currently not working.
Error:
File "/usr/local/lib/python3.10/site-packages/openai/_base_client.py", line 801, in init
self._client = http_client or SyncHttpxClientWrapper(
TypeError: Client.init() got an unexpected keyword argument 'proxies'
After cloning the repository and building the Docker container myself as well as some debugging, the solution is relatively simple.
https://github.com/ass-a2s/SoniTranslate
Solution:
(Please add the following versions in requirements)
openai==1.59.5
httpx==0.28
best regards