From a4453c884cd6f4bd6f5ddcd25839657e02ab4f9d Mon Sep 17 00:00:00 2001 From: Max Ind Date: Fri, 21 Nov 2025 10:17:08 -0800 Subject: [PATCH] fix: adk deploy agent_engine uses correct URI during an update Co-authored-by: Max Ind PiperOrigin-RevId: 835269976 --- 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 8da65d0e..45dce7fd 100644 --- a/src/google/adk/cli/cli_deploy.py +++ b/src/google/adk/cli/cli_deploy.py @@ -915,7 +915,7 @@ def to_agent_engine( ) else: if project and region and not agent_engine_id.startswith('projects/'): - agent_engine_id = f'projects/{project}/locations/{region}/agentEngines/{agent_engine_id}' + agent_engine_id = f'projects/{project}/locations/{region}/reasoningEngines/{agent_engine_id}' client.agent_engines.update(name=agent_engine_id, config=agent_config) click.secho(f'✅ Updated agent engine: {agent_engine_id}', fg='green') finally: