fix: vertex debug pass through routes

This commit is contained in:
Ishaan Jaff 2025-05-20 12:01:13 -07:00
parent 0578040c55
commit 82d4a0bc52
2 changed files with 6 additions and 0 deletions

View file

@ -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
)

View file

@ -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,