RecordingStore class abstract

Append-only key-value store for recorded LLM responses.

Per RFC §13.3 the store is intentionally append-only; it does not support compaction or deletion. Operators who need to archive old recordings should do so externally.

Implementers

Constructors

RecordingStore()

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

flush() → Future<void>
Force any buffered writes to flush. Called by the runner before exiting.
get(String hash) → Future<ModelMessage?>
Returns the recorded response for hash, or null if no recording.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
put(String hash, ModelMessage response) → Future<void>
Stores a new recording under hash. If a recording already exists, implementations may overwrite or no-op (FileRecordingStore overwrites — useful when re-recording after a known-broken capture).
toString() → String
A string representation of this object.
inherited

Operators

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