AgentSessionManager.WorkflowBridge.StepResult
(AgentSessionManager v0.8.0)
Copy Markdown
View Source
Normalized result from a workflow step execution.
Provides a consistent data shape regardless of whether the step used
run_once/4 (one-shot) or execute_run/4 (multi-run). Includes
routing signals that workflow engines can use for branching decisions.
Summary
Types
@type t() :: %AgentSessionManager.WorkflowBridge.StepResult{ content: String.t() | nil, events: [map()], has_tool_calls: boolean(), output: map(), persistence_failures: non_neg_integer(), policy: map() | nil, retryable: boolean(), run_id: String.t() | nil, session_id: String.t() | nil, stop_reason: String.t() | nil, token_usage: map(), tool_calls: [map()], workspace: map() | nil }