forked from phoenix/litellm-mirror
litellm router - use free / paid tier
This commit is contained in:
parent
96471c145e
commit
dfc674622b
1 changed files with 2 additions and 0 deletions
|
@ -91,6 +91,7 @@ class ModelInfo(BaseModel):
|
|||
base_model: Optional[str] = (
|
||||
None # specify if the base model is azure/gpt-3.5-turbo etc for accurate cost tracking
|
||||
)
|
||||
tier: Optional[Literal["free", "paid"]] = None
|
||||
|
||||
def __init__(self, id: Optional[Union[str, int]] = None, **params):
|
||||
if id is None:
|
||||
|
@ -328,6 +329,7 @@ class LiteLLMParamsTypedDict(TypedDict, total=False):
|
|||
class DeploymentTypedDict(TypedDict):
|
||||
model_name: str
|
||||
litellm_params: LiteLLMParamsTypedDict
|
||||
model_info: ModelInfo
|
||||
|
||||
|
||||
SPECIAL_MODEL_INFO_PARAMS = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue