Skip to content

Commit 3820c7f

Browse files
committed
fix: vertex llm base
1 parent f7efddf commit 3820c7f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

litellm/llms/vertex_ai/vertex_llm_base.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,9 @@ def load_auth(
9898
if project_id is None:
9999
project_id = creds_project_id
100100

101+
verbose_logger.debug(
102+
f"Refreshing credentials for project_id: {project_id}, creds: {creds}"
103+
)
101104
self.refresh_auth(creds)
102105

103106
if not project_id:
@@ -311,6 +314,9 @@ def get_access_token(
311314
credentials=credentials, project_id=project_id
312315
)
313316
except Exception as e:
317+
import traceback
318+
319+
traceback.print_exc()
314320
verbose_logger.exception(
315321
f"Failed to load vertex credentials. Check to see if credentials containing partial/invalid information. Tried using project_id: {project_id}. Error: {str(e)}"
316322
)

0 commit comments

Comments
 (0)