FFXThreadUpdatedEventThreadCounters class final

Constructors

FFXThreadUpdatedEventThreadCounters({int? messageCount, int? modelCallCount, int? inputTokens, int? outputTokens, int? reasoningTokens, int? generationCount, int? taskCount, int? taskAttemptCount, int? runtimeVcpuMilliseconds, int? runtimeMemoryMiBMilliseconds, double? modelCostUsd, int? unpricedModelCallCount, int? contextTokens})
const
FFXThreadUpdatedEventThreadCounters.fromJson(Map<String, Object?> json)
factory

Properties

contextTokens → int?
How long the conversation has grown: the input tokens of the thread's last settled call on its main lane, cached ones included. Every step reads the whole conversation again, so this is what each next step will at least read. Absent until such a call settles, and on threads the agent plane has not written it for.
final
generationCount → int?
final
hashCode → int
The hash code for this object.
no setterinherited
inputTokens → int?
final
messageCount → int?
final
modelCallCount → int?
final
modelCostUsd → double?
USD list price of every model call the broker settled for this thread (primary, task and aside lanes), from the platform price book. A debugging readout, not a bill: calls of a model the book does not price add nothing here and count in unpricedModelCallCount.
final
outputTokens → int?
final
reasoningTokens → int?
final
runtimeMemoryMiBMilliseconds → int?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
runtimeVcpuMilliseconds → int?
Allocated running vCPU time across primary and isolated hosts, once per host.
final
taskAttemptCount → int?
final
taskCount → int?
final
unpricedModelCallCount → int?
Settled model calls whose model the price book does not carry, so modelCostUsd leaves them out.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
toString() → String
A string representation of this object.
inherited

Operators

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