mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-26 06:03:19 +00:00
chore(http): annotate branch handler initialization for LIT010 gate
This commit is contained in:
parent
963c86ec57
commit
fa5709fde5
1 changed files with 2 additions and 2 deletions
|
|
@ -1813,7 +1813,7 @@ def get_async_httpx_client(
|
|||
return _cached_client
|
||||
|
||||
if aclient_session is not None:
|
||||
_new_client = AsyncHTTPHandler.from_client(
|
||||
_new_client = AsyncHTTPHandler.from_client( # rebind-ok: branch-specific handler initialization
|
||||
client=aclient_session,
|
||||
timeout=_default_cached_client_timeout(),
|
||||
)
|
||||
|
|
@ -1874,7 +1874,7 @@ def get_httpx_client(params: dict | None = None) -> HTTPHandler:
|
|||
return _cached_client
|
||||
|
||||
if client_session is not None:
|
||||
_new_client = HTTPHandler(
|
||||
_new_client = HTTPHandler( # rebind-ok: branch-specific handler initialization
|
||||
timeout=_default_cached_client_timeout(),
|
||||
client=client_session,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue