Commit

org.llm4s.agent.graph.Commit
final case class Commit(checkpoint: Option[Checkpoint], pendingWrites: Vector[PendingWrite], events: Vector[EventDraft])

One atomic write to a thread. The checkpointer applies all of it or none of it:

  • checkpoint, if present, becomes the thread's latest, provided its parent is the current latest; pending writes recorded against the old checkpoint are dropped.
  • pendingWrites are recorded against the (resulting) latest checkpoint, and must name it.
  • events are appended to the thread's durable log, each given the next sequence number.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product