mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-09 03:18:44 +00:00
fix: restore ssl_verify args in create_client retry calls
This commit is contained in:
parent
eb4b9b654b
commit
e43bbf3f0a
1 changed files with 4 additions and 12 deletions
|
|
@ -649,9 +649,7 @@ class AsyncHTTPHandler:
|
|||
return response
|
||||
except (httpx.RemoteProtocolError, httpx.ConnectError):
|
||||
# Retry the request with a new session if there is a connection error
|
||||
new_client = self.create_client(
|
||||
|
||||
)
|
||||
new_client = self. )
|
||||
try:
|
||||
return await self.single_connection_post_request(
|
||||
url=url,
|
||||
|
|
@ -712,9 +710,7 @@ class AsyncHTTPHandler:
|
|||
return response
|
||||
except (httpx.RemoteProtocolError, httpx.ConnectError):
|
||||
# Retry the request with a new session if there is a connection error
|
||||
new_client = self.create_client(
|
||||
|
||||
)
|
||||
new_client = self. )
|
||||
try:
|
||||
return await self.single_connection_post_request(
|
||||
url=url,
|
||||
|
|
@ -773,9 +769,7 @@ class AsyncHTTPHandler:
|
|||
return response
|
||||
except (httpx.RemoteProtocolError, httpx.ConnectError):
|
||||
# Retry the request with a new session if there is a connection error
|
||||
new_client = self.create_client(
|
||||
|
||||
)
|
||||
new_client = self. )
|
||||
try:
|
||||
return await self.single_connection_post_request(
|
||||
url=url,
|
||||
|
|
@ -834,9 +828,7 @@ class AsyncHTTPHandler:
|
|||
return response
|
||||
except (httpx.RemoteProtocolError, httpx.ConnectError):
|
||||
# Retry the request with a new session if there is a connection error
|
||||
new_client = self.create_client(
|
||||
|
||||
)
|
||||
new_client = self. )
|
||||
try:
|
||||
return await self.single_connection_post_request(
|
||||
url=url,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue