From 1cf85b4eb9db633fddda8e418a5243265465bee6 Mon Sep 17 00:00:00 2001 From: Krrish Dholakia Date: Thu, 23 Nov 2023 17:50:50 -0800 Subject: [PATCH] fix(utils.py): vertex ai api error exception mapping --- litellm/utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/litellm/utils.py b/litellm/utils.py index f7462ccab2..355ba24bf5 100644 --- a/litellm/utils.py +++ b/litellm/utils.py @@ -3829,6 +3829,7 @@ def exception_type( exception_mapping_worked = True raise APIError( message=f"VertexAIException - {error_str}", + status_code=500, model=model, llm_provider="vertex_ai", request=original_exception.request