From e43bbf3f0a5115a04877f3f5242709a82a6b3b13 Mon Sep 17 00:00:00 2001 From: Vitaliy Date: Sat, 20 Jun 2026 00:09:08 -0400 Subject: [PATCH] fix: restore ssl_verify args in create_client retry calls --- litellm/llms/custom_httpx/http_handler.py | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/litellm/llms/custom_httpx/http_handler.py b/litellm/llms/custom_httpx/http_handler.py index c1e2640c28b..6346147ce3a 100644 --- a/litellm/llms/custom_httpx/http_handler.py +++ b/litellm/llms/custom_httpx/http_handler.py @@ -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,