mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-06 02:48:13 +00:00
fix(lint): remove mutable-dict default to satisfy LIT002 gate
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
06f7217edf
commit
ff3cd1a266
1 changed files with 1 additions and 1 deletions
|
|
@ -3234,7 +3234,7 @@ class Router:
|
|||
self._merge_tools_from_deployment(deployment=deployment, kwargs=kwargs)
|
||||
|
||||
model_info = deployment.get("model_info", {}).copy()
|
||||
dep_litellm_params = deployment.get("litellm_params", {})
|
||||
dep_litellm_params = deployment["litellm_params"]
|
||||
if not isinstance(dep_litellm_params, dict):
|
||||
dep_litellm_params = dep_litellm_params.model_dump(exclude_none=True)
|
||||
for field in CustomPricingLiteLLMParams.model_fields:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue