AgentHarnessSession class abstract
One trial worth of agent execution. Always created via the factory.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
dispose(
) → Future< void> - Called after run regardless of outcome. Free any per-session resources (file handles, subscriptions, etc.).
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
run(
) → Future< ({Outcome outcome, Transcript transcript})> - Run the agent for this trial and produce both a transcript and an outcome. Sessions may return an empty transcript when using the framework recorder; the runner will replace it with the recorded snapshot.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited