From e1167c5c079e3979d40d65b885b760507341d55c Mon Sep 17 00:00:00 2001 From: duerzy Date: Fri, 10 Apr 2026 10:42:04 +0800 Subject: [PATCH] fix(deps): add socks extra to httpx for SOCKS proxy support Add the [socks] extra to the httpx dependency to include the required 'socksio' package. This fixes the error: "Using SOCKS proxy, but the 'socksio' package is not installed" when users configure SOCKS proxy settings. --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 8e637d821..1afb24cb2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,7 +16,7 @@ dependencies = [ "anthropic>=0.39.0,<1", "python-dotenv>=1.2.1,<2", "fire>=0.7.1,<1", - "httpx>=0.28.1,<1", + "httpx[socks]>=0.28.1,<1", "rich>=14.3.3,<15", "tenacity>=9.1.4,<10", "pyyaml>=6.0.2,<7",