From 82d4a0bc529f8075e6dfa41dad0b8f55bcfa2960 Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Tue, 20 May 2025 12:01:13 -0700 Subject: [PATCH] fix: vertex debug pass through routes --- .../proxy/pass_through_endpoints/llm_passthrough_endpoints.py | 2 ++ .../pass_through_endpoints/passthrough_endpoint_router.py | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/litellm/proxy/pass_through_endpoints/llm_passthrough_endpoints.py b/litellm/proxy/pass_through_endpoints/llm_passthrough_endpoints.py index 2fdb289e3ce..359d25b7425 100644 --- a/litellm/proxy/pass_through_endpoints/llm_passthrough_endpoints.py +++ b/litellm/proxy/pass_through_endpoints/llm_passthrough_endpoints.py @@ -672,6 +672,8 @@ async def _base_vertex_proxy_route( location=vertex_location, ) + verbose_proxy_logger.debug(f"vertex_credentials: {vertex_credentials}") + base_target_url = get_vertex_pass_through_handler.get_default_base_target_url( vertex_location ) diff --git a/litellm/proxy/pass_through_endpoints/passthrough_endpoint_router.py b/litellm/proxy/pass_through_endpoints/passthrough_endpoint_router.py index 520bda177b9..e14336536c8 100644 --- a/litellm/proxy/pass_through_endpoints/passthrough_endpoint_router.py +++ b/litellm/proxy/pass_through_endpoints/passthrough_endpoint_router.py @@ -116,6 +116,10 @@ class PassthroughEndpointRouter: Add the vertex credentials for the given project-id, location """ + verbose_router_logger.debug( + f"Adding vertex credentials for project_id: {project_id}, location: {location}, vertex_credentials length: {len(vertex_credentials)}" + ) + deployment_key = self._get_deployment_key( project_id=project_id, location=location,