I get the following error suddenly now when running the application -
TypeError: Client.init() got an unexpected keyword argument ‘proxies’
This had not been the issue before. I cannot currently upgrade the OpenAI version to 1.55.3, as suggested in similar posts on the forum. Is there a fix coming from OpenAI regarding this?
The proxies argument issue occurs because it was deprecated in recent versions of OpenAI. Since an upgrade is not possible, revert to a proxy-compatible earlier version of the OpenAI library or remove proxies and set them via environment variables instead. Older versions are not expected to have a fix.
Thanks for the response. I am sure there are many other prod projects as well that are not at the liberty to upgrade the version. Is there an official update from OpenAI available regarding the support?
On the general topic: This would be a great time for the OpenAI team to check whether they have any other deprecated functions they call that might blow up by being removed upstream at any given time
Why not simply the newest openai, which should address concerns (unless you are passing the now-unsupported “proxies” argument yourself into the httpx module in code).
1.56.1 - replaced deprecated proxies parameter with mounts
1.57.2 - fixed cli - used by tools like training file validator