forked from phoenix/litellm-mirror
fix(proxy_server.py): handle pydantic json versioning issue
This commit is contained in:
parent
5e55df1eaf
commit
618cb2441a
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(
|
@router.post(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue