AgentRunOutcome class final

Constructors

AgentRunOutcome({required AgentRunStatus status, required List<AgentRunStep> steps, String answer = '', Object? error, List<AgentRunStep> dryRun = const []})
const

Properties

answer → String
The model's closing answer, when it gave one.
final
dryRun → List<AgentRunStep>
The dry run of steps, as the preview shows it: each call performed again against copies of the resources as they were before the run, so the user sees which calls the guard would refuse before keeping anything. Empty outside a preview.
final
error → Object?
Why a run ended without a failed call — the model could not be reached, or the drive itself threw.
final
failedStep → int?
The 1-based index of the call that ended the run.
no setter
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status → AgentRunStatus
final
steps → List<AgentRunStep>
final

Methods

dryRunOf(int index) → AgentRunStep?
The dry-run verdict for the call index (1-based), when there is one.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited