add key_state created at to token

This commit is contained in:
Ishaan Jaff 2024-08-26 16:52:33 -07:00
parent fb150f7ce5
commit cbef0c0a0d

View file

@ -1299,8 +1299,10 @@ class LiteLLM_VerificationToken(LiteLLMBase):
model_max_budget: Dict = {} model_max_budget: Dict = {}
soft_budget_cooldown: bool = False soft_budget_cooldown: bool = False
litellm_budget_table: Optional[dict] = None litellm_budget_table: Optional[dict] = None
org_id: Optional[str] = None # org id for a given key org_id: Optional[str] = None # org id for a given key
key_state: Optional[str] = None # can be "active", "inactive"
created_at: Optional[datetime] = None
updated_at: Optional[datetime] = None
model_config = ConfigDict(protected_namespaces=()) model_config = ConfigDict(protected_namespaces=())