SnapshotStore class

Web no-op store: wllama cannot restore KV state, so agent switches re-prefill and there is nothing to persist.

Constructors

SnapshotStore(String rootDirectory)
Creates the store; rootDirectory is kept only for API symmetry.

Properties

hashCode int
The hash code for this object.
no setterinherited
rootDirectory String
Unused on the web.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

find(String modelKey, String agentId, {int? maxTokens}) Future<AgentSnapshot?>
Always null: nothing is ever stored.
invalidate(String modelKey, String agentId) Future<void>
No-op.
invalidateWhere(String modelKey, bool test(AgentSnapshot snapshot)) Future<void>
No-op.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
record(String modelKey, String agentId, {required int tokens, required int contextTokens}) Future<void>
No-op.
statePathFor(String modelKey, String agentId) String
Returns a placeholder path; never written because web sessions report canPersistState false.
toString() String
A string representation of this object.
inherited

Operators

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