StoreView

org.llm4s.agent.harness.StoreView
@Experimental
trait StoreView

What a LongTermStore.modify change sees, inside its transaction: the item being modified, and the rest of its namespace, so a check that spans keys (a file's ancestors and descendants) is atomic with the write. Values are copies: changing one changes nothing stored.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def current: Option[StoreItem]

The item at the key being modified.

The item at the key being modified.

Attributes

def get(key: String): Result[Option[StoreItem]]

Another item of the namespace.

Another item of the namespace.

Attributes

def withPrefix(prefix: String, limit: Int): Result[Vector[StoreEntry]]

The entries of the namespace whose key starts with prefix, in key order, at most limit.

The entries of the namespace whose key starts with prefix, in key order, at most limit.

Attributes