From ee5fa81a5b3a251ee33d440fe77f62587f0c9c07 Mon Sep 17 00:00:00 2001 From: tin Date: Thu, 6 Aug 2026 04:48:09 +0000 Subject: [PATCH] refactor(router): rename tier param validator Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- litellm/router_strategy/complexity_router/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/router_strategy/complexity_router/config.py b/litellm/router_strategy/complexity_router/config.py index a4a9b489b29..837a6ba823c 100644 --- a/litellm/router_strategy/complexity_router/config.py +++ b/litellm/router_strategy/complexity_router/config.py @@ -589,7 +589,7 @@ class ComplexityRouterConfig(BaseModel): return self @model_validator(mode="after") - def _warn_unknown_tier_params(self) -> "ComplexityRouterConfig": + def _validate_tier_params(self) -> "ComplexityRouterConfig": known: Final = frozenset(OPENAI_CHAT_COMPLETION_PARAMS) | frozenset(all_litellm_params) for tier, target in self.tiers.items(): if isinstance(target, TierTarget):