AgentRunResult class

Summary produced when the agent loop terminates.

Constructors

AgentRunResult({required String goalId, required bool success, required int iterations, required int tasksCompleted, required int tasksFailed, required String summary, String? error, DateTime? finishedAt})
const

Properties

error → String?
Error message if the run failed without completing the goal.
final
finishedAt → DateTime?
final
goalId → String
final
hashCode → int
The hash code for this object.
no setterinherited
iterations → int
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
success → bool
final
summary → String
Human-readable summary of what the agent accomplished.
final
tasksCompleted → int
final
tasksFailed → int
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.
inherited