mirror of
https://github.com/tiennm99/litellm.git
synced 2026-08-11 22:22:28 +00:00
fix(proxy/utils.py): fix pydantic model dump logic
This commit is contained in:
@@ -1142,10 +1142,7 @@ class PrismaClient:
|
||||
)
|
||||
_data: dict = {}
|
||||
if response is not None:
|
||||
try:
|
||||
_data = response.model_dump()
|
||||
except Exception as e:
|
||||
_data = response.dict()
|
||||
_data = response.dict()
|
||||
return {"token": token, "data": _data}
|
||||
elif (
|
||||
user_id is not None
|
||||
|
||||
Reference in New Issue
Block a user