mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 19:24:27 +00:00
docs(routing.md): update tutorial on deploying router
This commit is contained in:
parent
c4f51594d5
commit
d9123ea2e8
4 changed files with 39 additions and 40 deletions
|
@ -1057,12 +1057,12 @@ def client(original_function):
|
|||
if litellm.client_session is None:
|
||||
litellm.client_session = httpx.Client(
|
||||
limits=httpx.Limits(max_connections=100, max_keepalive_connections=20),
|
||||
timeout = httpx.Timeout(timeout=600.0, connect=5.0)
|
||||
timeout = None
|
||||
)
|
||||
if litellm.aclient_session is None:
|
||||
litellm.aclient_session = httpx.AsyncClient(
|
||||
limits=httpx.Limits(max_connections=100, max_keepalive_connections=20),
|
||||
timeout = httpx.Timeout(timeout=600.0, connect=5.0)
|
||||
timeout = None
|
||||
)
|
||||
if litellm.use_client or ("use_client" in kwargs and kwargs["use_client"] == True):
|
||||
print_verbose(f"litedebugger initialized")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue