AgentStepsPart class final

The steps of a run, shown as "Thought for 6s · 3 steps" once it settles.

Maps the AI SDK's reasoning and step parts.

Inheritance

Constructors

AgentStepsPart({required List<AgentStep> steps, required AgentRunStatus status, Duration? duration})
Creates a steps part.
const

Properties

duration → Duration?
How long the run worked, for a settled summary. AgentRunClock measures it for a live run; history stores it.
final
hashCode → int
The hash code for this object.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status → AgentRunStatus
Whether the run is working, waiting for the reader, or complete.
final
steps → List<AgentStep>
The steps in order.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

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