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(