mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +00:00
fix(proxy/utils.py): fix model dump pydantic versioning issue
This commit is contained in:
parent
37ad5efc61
commit
a4b4489832
1 changed files with 1 additions and 1 deletions
|
@ -1144,7 +1144,7 @@ class PrismaClient:
|
|||
if response is not None:
|
||||
try:
|
||||
_data = response.model_dump()
|
||||
except:
|
||||
except Exception as e:
|
||||
_data = response.dict()
|
||||
return {"token": token, "data": _data}
|
||||
elif (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue