From ba82b3ae48d8f2b1dd8d01b2a47f6834e355937b Mon Sep 17 00:00:00 2001 From: vanshtaneja23 <155813476+vanshtaneja23@users.noreply.github.com> Date: Fri, 3 Jul 2026 17:07:26 -0400 Subject: [PATCH] style: apply ruff format --- litellm/proxy/health_endpoints/_health_endpoints.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/litellm/proxy/health_endpoints/_health_endpoints.py b/litellm/proxy/health_endpoints/_health_endpoints.py index c5c892eb720..4a850b82b2d 100644 --- a/litellm/proxy/health_endpoints/_health_endpoints.py +++ b/litellm/proxy/health_endpoints/_health_endpoints.py @@ -1002,12 +1002,8 @@ async def health_endpoint( # (issue #28206). accessible_models = get_key_models( user_api_key_dict=user_api_key_dict, - proxy_model_list=( - llm_router.get_model_names() if llm_router is not None else [] - ), - model_access_groups=( - llm_router.get_model_access_groups() if llm_router is not None else {} - ), + proxy_model_list=(llm_router.get_model_names() if llm_router is not None else []), + model_access_groups=(llm_router.get_model_access_groups() if llm_router is not None else {}), ) restrict_to_allowed_models = ( len(accessible_models) > 0 and SpecialModelNames.all_proxy_models.value not in accessible_models