You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: litellm/llms/vertex_ai/vertex_llm_base.py
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -98,6 +98,9 @@ def load_auth(
98
98
ifproject_idisNone:
99
99
project_id=creds_project_id
100
100
101
+
verbose_logger.debug(
102
+
f"Refreshing credentials for project_id: {project_id}, creds: {creds}"
103
+
)
101
104
self.refresh_auth(creds)
102
105
103
106
ifnotproject_id:
@@ -311,6 +314,9 @@ def get_access_token(
311
314
credentials=credentials, project_id=project_id
312
315
)
313
316
exceptExceptionase:
317
+
importtraceback
318
+
319
+
traceback.print_exc()
314
320
verbose_logger.exception(
315
321
f"Failed to load vertex credentials. Check to see if credentials containing partial/invalid information. Tried using project_id: {project_id}. Error: {str(e)}"
0 commit comments