You've already forked adk-python
mirror of
https://github.com/encounter/adk-python.git
synced 2026-03-30 10:57:20 -07:00
fix: adk deploy agent_engine uses correct URI during an update
Co-authored-by: Max Ind <maxind@google.com> PiperOrigin-RevId: 835269976
This commit is contained in:
committed by
Copybara-Service
parent
11df1e886d
commit
a4453c884c
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user