-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Anthropic: TypeError: Client.__init__() got an unexpected keyword argument 'proxies' #102
Comments
I have the same error - I am unable to use the library. I downgraded openai to 1.54.4, but same error occurs. |
Same, as a workaround I just commented out the |
I managed to fix it with downgrading httpx and upgrading openai. Not sure, if it won't break anything else, but here is my recipe. git clone https://github.com/kharvd/gpt-cli.git
cd gpt-cli Update dependencies in pyproject.toml
Install the package from repo: pip install . Also, see the problem with OpenAI client: https://community.openai.com/t/error-with-openai-1-56-0-client-init-got-an-unexpected-keyword-argument-proxies/1040332/8 |
upgraded openai (and other deps) 0cf6a34. let me know if this is still an issue |
Environment
~/.config/gpt-cli/gpt.yaml
Traceback
The text was updated successfully, but these errors were encountered: