mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-13 23:11:40 +00:00
refactor(router): rename tier param validator
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
b8769246a0
commit
ee5fa81a5b
1 changed files with 1 additions and 1 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue