From 99691fdd692e9e516b0f871513f6d39bb7d54fc6 Mon Sep 17 00:00:00 2001 From: fireflysentinel Date: Mon, 20 Apr 2026 15:00:03 -0500 Subject: [PATCH] style: black format rerank endpoint after typo fix The 'occured'->'occurred' edit added one character, pushing the log format string past Black's 88-char line limit. Wrap the .format() call so Black is happy. --- litellm/proxy/rerank_endpoints/endpoints.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/litellm/proxy/rerank_endpoints/endpoints.py b/litellm/proxy/rerank_endpoints/endpoints.py index 45930773254..56d5c798f9d 100644 --- a/litellm/proxy/rerank_endpoints/endpoints.py +++ b/litellm/proxy/rerank_endpoints/endpoints.py @@ -108,7 +108,9 @@ async def rerank( user_api_key_dict=user_api_key_dict, original_exception=e, request_data=data ) verbose_proxy_logger.error( - "litellm.proxy.proxy_server.rerank(): Exception occurred - {}".format(str(e)) + "litellm.proxy.proxy_server.rerank(): Exception occurred - {}".format( + str(e) + ) ) if isinstance(e, HTTPException): raise ProxyException(