Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions slime/utils/http_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ def init_http_client(args):
_http_client = httpx.AsyncClient(
limits=httpx.Limits(max_connections=_client_concurrency),
timeout=httpx.Timeout(None),
trust_env=False, # internal SGLang comm only — never route through system proxy
)

# Optionally initialize distributed POST via Ray without changing interfaces
Expand Down Expand Up @@ -243,6 +244,7 @@ def __init__(self, concurrency: int):
self._client = httpx.AsyncClient(
limits=httpx.Limits(max_connections=max(1, concurrency)),
timeout=httpx.Timeout(None),
trust_env=False, # internal SGLang comm only — never route through system proxy
)

async def do_post(self, url, payload, max_retries=60, headers=None):
Expand Down