mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 11:14:04 +00:00
(fix) proxy: pydantic error / warning message
This commit is contained in:
parent
d14d1ccc4c
commit
362c3a7d9a
1 changed files with 2 additions and 0 deletions
|
@ -201,6 +201,8 @@ class ModelParams(BaseModel):
|
|||
model_name: str
|
||||
litellm_params: dict
|
||||
model_info: Optional[dict]
|
||||
class Config:
|
||||
protected_namespaces = ()
|
||||
|
||||
class GenerateKeyRequest(BaseModel):
|
||||
duration: str = "1h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue