From 905a9449c0c1d58c44fca038e2cef735fc63f215 Mon Sep 17 00:00:00 2001 From: lei_lei <96427312+leilei3167@users.noreply.github.com> Date: Mon, 31 Aug 2026 09:55:43 +0000 Subject: [PATCH] style(health_check): ruff format --- litellm/proxy/health_check.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/litellm/proxy/health_check.py b/litellm/proxy/health_check.py index d7e3a8d2e76..35bbe9264bd 100644 --- a/litellm/proxy/health_check.py +++ b/litellm/proxy/health_check.py @@ -759,7 +759,9 @@ def _update_litellm_params_for_health_check(model_info: dict, litellm_params: di the provider request body (#38941) """ # Copy first: callers pass the live deployment litellm_params dict. - litellm_params = dict(litellm_params) # mutable-ok: copy so probe mutations don't rewrite the shared deployment dict # rebind-ok: local probe copy + litellm_params = dict( + litellm_params + ) # mutable-ok: copy so probe mutations don't rewrite the shared deployment dict # rebind-ok: local probe copy mode: Final = _resolve_health_check_mode( model_info, litellm_params, # any-ok: untyped router config dict