Normandy.Agents.Turn.State
(normandy v1.0.0)
View Source
Serializable data for one in-flight turn (the design's %TurnState{}).
Summary
Types
@type status() ::
:provisioning
| :assistant_streaming
| :tool_dispatch
| :finalizing
| :awaiting_approval
| :steering
| :stopped
| :failed
@type t() :: %Normandy.Agents.Turn.State{ awaiting_final: boolean(), error: term() | nil, final_response: term() | nil, held_results: [term()], iterations_left: integer(), last_response: term() | nil, max_iterations: pos_integer(), output_schema: term(), parked_calls: [term()], pending_calls: [term()], response_model: term(), status: status(), stop_reason: :completed | :max_iterations | nil }