AgentCheckpointData
data class AgentCheckpointData(val checkpointId: String, val createdAt: Instant, val nodeId: String, val lastInput: JsonElement, val messageHistory: List<Message>)(source)
Represents the checkpoint data for an agent's state during a session.
Constructors
Link copied to clipboard
constructor(checkpointId: String, createdAt: Instant, nodeId: String, lastInput: JsonElement, messageHistory: List<Message>)
Properties
Link copied to clipboard
The unique identifier of the checkpoint. This allows tracking and restoring the agent's session to a specific state.
Link copied to clipboard
Serialized input received for node with nodeId
Link copied to clipboard
A list of messages exchanged in the session up to the checkpoint. Messages include interactions between the user, system, assistant, and tools.
Functions
Link copied to clipboard
Converts an instance of AgentCheckpointData to AgentContextData.