LongTermStoreContract

org.llm4s.agent.testkit.LongTermStoreContract
See theLongTermStoreContract companion trait
@Experimental

Attributes

Companion
trait
Source
LongTermStoreContract.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

final class CounterSubject(val name: String, store: LongTermStore, applied: () => Int) extends Subject

A ReplayContract.Subject over a store's transactional modify: slot n is the item slot-<n> of the namespace counters, and the effect increments the number it holds inside the store's transaction, so a second application shows and a replay the store answers from its applied key does not. applied counts the store's applied keys, as LongTermStoreContract.appliedKeys does.

A ReplayContract.Subject over a store's transactional modify: slot n is the item slot-<n> of the namespace counters, and the effect increments the number it holds inside the store's transaction, so a second application shows and a replay the store answers from its applied key does not. applied counts the store's applied keys, as LongTermStoreContract.appliedKeys does.

Attributes

Source
LongTermStoreContract.scala
Supertypes
trait Subject
class Object
trait Matchable
class Any