From 0c820202530c65a90982305dabf98276750647e7 Mon Sep 17 00:00:00 2001 From: Mohammad Javad Naderi Date: Thu, 23 Jul 2026 06:29:24 +0330 Subject: [PATCH] Format default order filter --- litellm/router.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/litellm/router.py b/litellm/router.py index 96ef9dc11f3..97cbbabe8f9 100644 --- a/litellm/router.py +++ b/litellm/router.py @@ -11093,9 +11093,7 @@ class Router: # Without a fallback target, return deployments with the lowest configured order. if _target_order is None: - healthy_deployments = litellm.utils._get_order_filtered_deployments( - cast(list[dict], healthy_deployments) - ) + healthy_deployments = litellm.utils._get_order_filtered_deployments(cast(list[dict], healthy_deployments)) ## WEIGHTED FAILOVER EXCLUSION ## -> drop deployments already tried in ## this request via weighted-failover. Always honored, regardless of the