AgentStep.finish constructor

const AgentStep.finish({
  1. String state,
})

The run ends with state (completed, failed) and trigger_state done or failed.

Implementation

const factory AgentStep.finish({String state}) = _Finish;