From 3820c7f72af61a133e66f5c8e058465d494f819a Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Tue, 20 May 2025 11:46:58 -0700 Subject: [PATCH] fix: vertex llm base --- litellm/llms/vertex_ai/vertex_llm_base.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/litellm/llms/vertex_ai/vertex_llm_base.py b/litellm/llms/vertex_ai/vertex_llm_base.py index b758f20ea70..fa027f0e264 100644 --- a/litellm/llms/vertex_ai/vertex_llm_base.py +++ b/litellm/llms/vertex_ai/vertex_llm_base.py @@ -98,6 +98,9 @@ class VertexBase: if project_id is None: project_id = creds_project_id + verbose_logger.debug( + f"Refreshing credentials for project_id: {project_id}, creds: {creds}" + ) self.refresh_auth(creds) if not project_id: @@ -311,6 +314,9 @@ class VertexBase: credentials=credentials, project_id=project_id ) except Exception as e: + import traceback + + traceback.print_exc() verbose_logger.exception( f"Failed to load vertex credentials. Check to see if credentials containing partial/invalid information. Tried using project_id: {project_id}. Error: {str(e)}" )