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,