mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-06 08:16:43 +00:00
(fix) proxy: pydantic error / warning message
This commit is contained in:
parent
47c1aa27c7
commit
ecddb852a2
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
Reference in a new issue