GraphSnapshot

org.llm4s.agent.graph.GraphSnapshot
See theGraphSnapshot companion object
final case class GraphSnapshot(graphId: String, graphVersion: String, fingerprint: String, superstep: Int, state: Map[String, VersionedJson], frontier: Vector[PendingTask], staticJoins: Vector[StaticArrivals], dynamicJoins: Vector[Activation])

A serializable picture of an Execution - data only, no closures or codecs. Node inputs and state values are encoded with the codecs of the graph that wrote them, and decoded and checked against the graph that restores them.

Each value records its codec's version and is migrated on restore; the snapshot itself is versioned by the Checkpoint that carries it.

Attributes

Companion
object
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