fix: bypass Windows system proxy in DeepSeek API calls
This commit is contained in:
+2
-1
@@ -77,7 +77,8 @@ class APIClient:
|
|||||||
self.base_url,
|
self.base_url,
|
||||||
headers=headers,
|
headers=headers,
|
||||||
json=payload,
|
json=payload,
|
||||||
timeout=self.timeout
|
timeout=self.timeout,
|
||||||
|
proxies={"http": None, "https": None},
|
||||||
)
|
)
|
||||||
resp.raise_for_status()
|
resp.raise_for_status()
|
||||||
return resp.json()
|
return resp.json()
|
||||||
|
|||||||
Reference in New Issue
Block a user