pub fn update_agent(
agent_id: &AgentId,
target_version: ComponentVersion,
mode: UpdateMode,
)
Expand description
Initiates an update attempt for the given agent. The function returns immediately once the request has been processed, not waiting for the agent to get updated.