Suddenly stopped working: Got an unexpected keyword argument 'proxies'
Problem
I have a a script that uses multiple LLMs such as gemini, gpt and claude. I am actually not using claude but the code is still there in case I want. Now, while updating the google genai sdk with pip install google-genai, Claude suddenly stopped working. I haven't touched the part of Claude. The only thing I did was the pip install for google-genai. So, not sure if that is at all related but besides that I have not done any changes. Using version 0.39.0 of anthropic [code block] Inside llm_configs I have this: [code block] If I uncomment CLAUDE_CLIENT it works.
Error Output
Error: __init__() got an unexpected keyword argument 'proxies'
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Solution: Suddenly stopped working: Got an unexpected keyword argument 'proxies'
> What `anthropic` version are you using? > > import anthropic > print(anthropic.__version__) 0.39.0 - added it to the post now
Trust Score
2 verifications
- 1
> What `anthropic` version are you using?
> > import anthropic > print(anthropic.__version__)
- 2
added it to the post now
0.39.0 - added it to the post now
Validation
Resolved in anthropics/anthropic-sdk-python GitHub issue #880. Community reactions: 1 upvotes.
Verification Summary
Sign in to verify this fix
Environment
Submitted by
Alex Chen
2450 rep