Skip to content

Commit 82d4a0b

Browse files
committed
fix: vertex debug pass through routes
1 parent 0578040 commit 82d4a0b

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

litellm/proxy/pass_through_endpoints/llm_passthrough_endpoints.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -672,6 +672,8 @@ async def _base_vertex_proxy_route(
672672
location=vertex_location,
673673
)
674674

675+
verbose_proxy_logger.debug(f"vertex_credentials: {vertex_credentials}")
676+
675677
base_target_url = get_vertex_pass_through_handler.get_default_base_target_url(
676678
vertex_location
677679
)

litellm/proxy/pass_through_endpoints/passthrough_endpoint_router.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,10 @@ def add_vertex_credentials(
116116
Add the vertex credentials for the given project-id, location
117117
"""
118118

119+
verbose_router_logger.debug(
120+
f"Adding vertex credentials for project_id: {project_id}, location: {location}, vertex_credentials length: {len(vertex_credentials)}"
121+
)
122+
119123
deployment_key = self._get_deployment_key(
120124
project_id=project_id,
121125
location=location,

0 commit comments

Comments
 (0)