From a4b44898325eb5676007bb0072e2cf50ab18a8dd Mon Sep 17 00:00:00 2001 From: Krrish Dholakia Date: Sat, 2 Mar 2024 21:01:36 -0800 Subject: [PATCH] fix(proxy/utils.py): fix model dump pydantic versioning issue --- litellm/proxy/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/proxy/utils.py b/litellm/proxy/utils.py index 765909157ca..59d638c68d9 100644 --- a/litellm/proxy/utils.py +++ b/litellm/proxy/utils.py @@ -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 (