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 Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article