refactor(types): support ModelInfo in DeploymentTypedDict model_info

This commit is contained in:
Shxiao101 2026-09-28 21:01:14 +09:00
parent 2c9b0e00ac
commit e2d7c226e0

View file

@ -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)