mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 11:43:54 +00:00
fix(proxy_server.py): handle pydantic json versioning issue
This commit is contained in:
parent
dc9dc3b1f6
commit
48df7003a0
1 changed files with 4 additions and 1 deletions
|
@ -5820,7 +5820,10 @@ async def new_team(
|
|||
}
|
||||
},
|
||||
)
|
||||
return team_row
|
||||
try:
|
||||
return team_row.model_dump()
|
||||
except Exception as e:
|
||||
return team_row.dict()
|
||||
|
||||
|
||||
@router.post(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue