ActionStep class

A single step shown in the real-time action feed overlay.

Each tool call in the ReAct loop becomes one ActionStep. The controller streams these to the UI as they happen, so the user sees live progress.

Constructors

ActionStep({required String id, required String description, required String toolName, required Map<String, dynamic> arguments, required ActionStepStatus status, String? error, required DateTime startedAt, DateTime? completedAt})
const
ActionStep.started({required String toolName, required Map<String, dynamic> arguments})
Create a new in-progress step for a tool call.
factory

Properties

arguments Map<String, dynamic>
final
completedAt DateTime?
final
description String
User-friendly description, e.g. "Navigating to booking screen".
final
error String?
final
hashCode int
The hash code for this object.
no setterinherited
id String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startedAt DateTime
final
status ActionStepStatus
final
toolName String
final

Methods

copyWith({ActionStepStatus? status, String? error, DateTime? completedAt}) ActionStep
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

Static Methods

descriptionForTool(String toolName, Map<String, dynamic> args) String
Generate a user-friendly present-tense description for a tool call.