AgentStep class final
One step of a run: something the agent read, found or did.
Merges the current plan item and activity row into one model.
- Annotations
Constructors
- AgentStep({required String id, required String title, AgentStepStatus status = AgentStepStatus.pending, String? detail})
-
Creates a step.
const
Properties
- detail → String?
-
Optional compact metadata, such as an elapsed time or a path.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- id → String
-
Stable identity across updates.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → AgentStepStatus
-
The current status.
final
- title → String
-
The visible title, such as "Read the checkout module".
final
Methods
-
copyWith(
{String? title, AgentStepStatus? status, String? detail, bool clearDetail = false}) → AgentStep - Returns a copy with the given fields replaced.
-
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