LlmRunCompleted class final

The run completed, and report accounts for it.

Inheritance

Constructors

LlmRunCompleted({required LlmCallReport report, String? callId, int? rounds, int toolCalls = 0, Duration duration = Duration.zero, CapturedWirePrompt? wire})
const

Properties

callId → String?
The call this run was, as LlmRunStarted.callId named it — so a reader holding only the terminal event can still say which call it closes.
finalinherited
duration → Duration
finalinherited
failure → LlmFailure?
How the call failed, classified — null for a completed run.
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
kind → String
The event's wire name, the kind of toMap.
no setterinherited
outcome → LlmRunOutcome
finalinherited
report → LlmCallReport
What the call cost and where it went: always present on a completed run, present on a failed one when the provider got far enough to account it.
final
rounds → int?
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
toolCalls → int
finalinherited
wire → CapturedWirePrompt?
The prompt as the backend received it, when the provider captured it.
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, Object?>
The event as a map of primitives, kind included.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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