From 2fac06de08e5aa40b9c517be24be0e0845b99cde Mon Sep 17 00:00:00 2001 From: Krrish Dholakia Date: Fri, 1 Mar 2024 08:33:10 -0800 Subject: [PATCH] refactor(vertex_ai.py): add more logging for the vertex_ai file --- litellm/llms/vertex_ai.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/litellm/llms/vertex_ai.py b/litellm/llms/vertex_ai.py index 1cda0ccdb..5b99683ca 100644 --- a/litellm/llms/vertex_ai.py +++ b/litellm/llms/vertex_ai.py @@ -300,7 +300,9 @@ def completion( f"VERTEX AI: vertex_project={vertex_project}; vertex_location={vertex_location}" ) creds, _ = google.auth.default(quota_project_id=vertex_project) - print_verbose(f"VERTEX AI: creds={creds}") + print_verbose( + f"VERTEX AI: creds={creds}; google application credentials: {os.getenv('GOOGLE_APPLICATION_CREDENTIALS')}" + ) vertexai.init( project=vertex_project, location=vertex_location, credentials=creds )