TrajectoryRequestNumber class final

Request-header facts retained by the trajectory ledger.

Port of the TS RequestView essentials: sequence, turn/step placement, purpose, provider/model, lifecycle, and usage roll-ups.

Constructors

TrajectoryRequestNumber({required int seq, required int turn, required int step, required TrajectoryRequestPurpose purpose, required String provider, required String model, required TrajectoryRequestStatus status, DateTime? startedAt, DateTime? completedAt, Usage? usage, Usage? cumulativeUsage})
Creates a TrajectoryRequestNumber.
const

Properties

completedAt → DateTime?
Wall-clock time the request completed.
final
cumulativeUsage → Usage?
Usage accumulated across all completed requests so far.
final
hashCode → int
The hash code for this object.
no setterinherited
model → String
Model id.
final
provider → String
Provider id.
final
purpose → TrajectoryRequestPurpose
Whether this was a model step or a compaction request.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
seq → int
1-based operation sequence number.
final
startedAt → DateTime?
Wall-clock time the request was issued.
final
status → TrajectoryRequestStatus
Lifecycle state of the request.
final
step → int
Assistant step within turn.
final
turn → int
Model turn the request belongs to.
final
usage → Usage?
Usage reported by this request.
final

Methods

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