Store a checkpoint with its configuration and metadata.
Creates Thread and Checkpoint nodes with HAS_CHECKPOINT relationship, links to parent via PREVIOUS relationship, and stores channel states with HAS_CHANNEL relationships. Also manages branch tracking for time-travel functionality.
put(
self,
config: RunnableConfig,
checkpoint: Checkpoint,
metadata: CheckpointMetadata,
new_versions: ChannelVersions
) -> RunnableConfig| Name | Type | Description |
|---|---|---|
config* | RunnableConfig | The runnable configuration containing thread_id. |
checkpoint* | Checkpoint | The checkpoint data to store. |
metadata* | CheckpointMetadata | Metadata about the checkpoint (source, step, etc.). |
new_versions* | ChannelVersions | Channel version information. |