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 itsparentis the current latest; pending writes recorded against the old checkpoint are dropped.pendingWritesare recorded against the (resulting) latest checkpoint, and must name it.eventsare appended to the thread's durable log, each given the next sequence number.
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article