Skip to content

Commit a4453c8

Browse files
RKestcopybara-github
authored andcommitted
fix: adk deploy agent_engine uses correct URI during an update
Co-authored-by: Max Ind <maxind@google.com> PiperOrigin-RevId: 835269976
1 parent 11df1e8 commit a4453c8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/google/adk/cli/cli_deploy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -915,7 +915,7 @@ def to_agent_engine(
915915
)
916916
else:
917917
if project and region and not agent_engine_id.startswith('projects/'):
918-
agent_engine_id = f'projects/{project}/locations/{region}/agentEngines/{agent_engine_id}'
918+
agent_engine_id = f'projects/{project}/locations/{region}/reasoningEngines/{agent_engine_id}'
919919
client.agent_engines.update(name=agent_engine_id, config=agent_config)
920920
click.secho(f'✅ Updated agent engine: {agent_engine_id}', fg='green')
921921
finally:

0 commit comments

Comments
 (0)