From eb4b9b654b8180e1463946162b14b021ff4e9cd9 Mon Sep 17 00:00:00 2001 From: Vitaliy Date: Sat, 20 Jun 2026 00:05:02 -0400 Subject: [PATCH] style: fix Black formatting in http_handler.py - split long lines and remove trailing blank line --- litellm/llms/custom_httpx/http_handler.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/litellm/llms/custom_httpx/http_handler.py b/litellm/llms/custom_httpx/http_handler.py index 6786ef62061..c1e2640c28b 100644 --- a/litellm/llms/custom_httpx/http_handler.py +++ b/litellm/llms/custom_httpx/http_handler.py @@ -650,7 +650,7 @@ class AsyncHTTPHandler: except (httpx.RemoteProtocolError, httpx.ConnectError): # Retry the request with a new session if there is a connection error new_client = self.create_client( - timeout=timeout, event_hooks=self.event_hooks, ssl_verify=self.ssl_verify + ) try: return await self.single_connection_post_request( @@ -713,7 +713,7 @@ class AsyncHTTPHandler: except (httpx.RemoteProtocolError, httpx.ConnectError): # Retry the request with a new session if there is a connection error new_client = self.create_client( - timeout=timeout, event_hooks=self.event_hooks, ssl_verify=self.ssl_verify + ) try: return await self.single_connection_post_request( @@ -774,7 +774,7 @@ class AsyncHTTPHandler: except (httpx.RemoteProtocolError, httpx.ConnectError): # Retry the request with a new session if there is a connection error new_client = self.create_client( - timeout=timeout, event_hooks=self.event_hooks, ssl_verify=self.ssl_verify + ) try: return await self.single_connection_post_request( @@ -835,7 +835,7 @@ class AsyncHTTPHandler: except (httpx.RemoteProtocolError, httpx.ConnectError): # Retry the request with a new session if there is a connection error new_client = self.create_client( - timeout=timeout, event_hooks=self.event_hooks, ssl_verify=self.ssl_verify + ) try: return await self.single_connection_post_request(