Skip to content
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

Error: Client.__init__() got an unexpected keyword argument 'proxies' #652

Closed
thavelick opened this issue Nov 28, 2024 · 2 comments
Closed
Labels
bug Something isn't working

Comments

@thavelick
Copy link

LLM is broken because of an underlying issue with openai using a now gone httpx feature: openai/openai-python#1902

~ ⮝ ➜ uvx llm "hello"                     
Error: Client.__init__() got an unexpected keyword argument 'proxies'

Can be worked around by pinning httpx:

~ ⮝ ➜ uvx --with='httpx==0.27' llm "hello"
Hello! How can I assist you today?
@simonw simonw added the bug Something isn't working label Nov 28, 2024
@simonw
Copy link
Owner

simonw commented Nov 28, 2024

OpenAI are hopefully pushing a fix for this soon:

@thavelick
Copy link
Author

This was fixed downstream in openai 1.55.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants