mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-06 02:48:13 +00:00
refactor(types): support ModelInfo in DeploymentTypedDict model_info
This commit is contained in:
parent
2c9b0e00ac
commit
e2d7c226e0
1 changed files with 1 additions and 2 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue