From e2d7c226e09b4f8436cdc3dbc24660c11f349ed7 Mon Sep 17 00:00:00 2001 From: Shxiao101 Date: Mon, 28 Sep 2026 21:01:14 +0900 Subject: [PATCH] refactor(types): support ModelInfo in DeploymentTypedDict model_info --- litellm/types/router.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/litellm/types/router.py b/litellm/types/router.py index d545f7ae639..14c0be1fb07 100644 --- a/litellm/types/router.py +++ b/litellm/types/router.py @@ -637,8 +637,7 @@ class LiteLLMParamsTypedDict(TypedDict, total=False): class DeploymentTypedDict(TypedDict, total=False): model_name: Required[str] litellm_params: Required[LiteLLMParamsTypedDict] - model_info: dict - + model_info: dict | ModelInfo SPECIAL_MODEL_INFO_PARAMS = tuple(MirroredPricingParams.model_fields)