Skip to content

fix: add socksio dependency for SOCKS proxy support#247

Open
shuaibird wants to merge 1 commit into666ghj:mainfrom
shuaibird:fix/add-socksio-dependency
Open

fix: add socksio dependency for SOCKS proxy support#247
shuaibird wants to merge 1 commit into666ghj:mainfrom
shuaibird:fix/add-socksio-dependency

Conversation

@shuaibird
Copy link
Copy Markdown

Summary

  • Add socksio>=1.0.0 as a dependency in pyproject.toml
  • httpx (used by the OpenAI SDK) requires socksio to handle SOCKS5 proxy connections
  • Without it, LLM API calls fail with a 500 error when the system has a SOCKS proxy configured (e.g., all_proxy=socks5://...)

Test plan

  • Verify uv sync installs socksio successfully
  • Confirm LLM API calls work in an environment with a SOCKS5 proxy configured

    httpx (used by the OpenAI SDK) requires socksio to handle SOCKS5 proxy
    connections. Without it, LLM API calls fail with a 500 error when the
    system has a SOCKS proxy configured (e.g., all_proxy=socks5://...).
@dosubot dosubot Bot added size:XS This PR changes 0-9 lines, ignoring generated files. LLM API Any questions regarding the LLM API labels Mar 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

LLM API Any questions regarding the LLM API size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant