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 on proxy config #2984

Open
neolee opened this issue Jan 24, 2025 · 2 comments
Open

Error on proxy config #2984

neolee opened this issue Jan 24, 2025 · 2 comments

Comments

@neolee
Copy link

neolee commented Jan 24, 2025

Issue

If I run aider in an environment with all_proxy being set it gives the error below:

Error loading model metadata models: Error loading model definition from
/opt/homebrew/Cellar/aider/0.72.2/libexec/lib/python3.12/site-packages/aider/resources/model-metadata.json: Using
SOCKS proxy, but the 'socksio' package is not installed. Make sure to install httpx using `pip install
httpx[socks]`.

I guess aider should include socksio and https[socks] package in its distribution.

Version and model info

Aider version: 0.72.2
Python version: 3.12.8
Platform: macOS-15.2-arm64-arm-64bit
Python implementation: CPython
Virtual environment: Yes
OS: Darwin 24.2.0 (64bit)
Git version: git version 2.48.1

@jifffffy
Copy link

jifffffy commented Feb 9, 2025

try uv tool install aider-chat --with 'httpx[socks]'

@neolee
Copy link
Author

neolee commented Feb 11, 2025

try uv tool install aider-chat --with 'httpx[socks]'

Can confirm that did the work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants