From 64ed1a68c98e32d61aff43857fa4e756b129b13f Mon Sep 17 00:00:00 2001 From: Anmol Jaiswal <68013660+anmolg1997@users.noreply.github.com> Date: Wed, 15 Apr 2026 13:05:45 -0700 Subject: [PATCH] fix(cli): correct console URL path after adk deploy agent_engine Merge https://github.com/google/adk-python/pull/5338 ### Summary After deploying an agent with `adk deploy agent_engine`, the generated Google Cloud Console URL uses the outdated path `agent-platform/runtimes`, which no longer resolves to the correct page. ### Changes **`src/google/adk/cli/cli_deploy.py`** Updated the URL path in `_print_agent_engine_url` from: ``` https://console.cloud.google.com/agent-platform/runtimes/locations/... ``` to: ``` https://console.cloud.google.com/vertex-ai/agents/agent-engines/locations/... ``` Fixes #5336 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/adk-python/pull/5338 from anmolg1997:fix/deploy-console-url 1fb352e9262e58165eed5eb7b119a655a4860540 PiperOrigin-RevId: 900308294 --- src/google/adk/cli/cli_deploy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/google/adk/cli/cli_deploy.py b/src/google/adk/cli/cli_deploy.py index ca06b170..bda96497 100644 --- a/src/google/adk/cli/cli_deploy.py +++ b/src/google/adk/cli/cli_deploy.py @@ -817,7 +817,7 @@ def _print_agent_engine_url(resource_name: str) -> None: engine_id = parts[5] url = ( - 'https://console.cloud.google.com/agent-platform/runtimes' + 'https://console.cloud.google.com/vertex-ai/agents/agent-engines' f'/locations/{region}/agent-engines/{engine_id}/playground' f'?project={project_id}' )