AgentCheckpointData

constructor(checkpointId: String, createdAt: Instant, nodePath: String, lastInput: JSONElement? = null, lastOutput: JSONElement? = null, messageHistory: List<Message>, version: Long, properties: JSONObject? = null)(source)


constructor(checkpointId: String, createdAt: Instant, nodePath: String, lastInput: JsonElement? = null, lastOutput: JsonElement? = null, messageHistory: List<Message>, version: Long, properties: JsonObject? = null)(source)

Deprecated

Use AgentCheckpointData constructor that accepts koog.JSONElement instead of kotlinx.JsonElement

Constructs an instance of the class with the specified parameters. This constructor is marked as deprecated and may be removed in the future.

Parameters

checkpointId

A unique identifier for the checkpoint.

createdAt

The timestamp indicating when the checkpoint was created.

nodePath

The path of the node associated with this checkpoint.

lastInput

The last input state, represented as a JSON element. This parameter is deprecated. Use lastOutput instead.

lastOutput

The last output state, represented as a JSON element.

messageHistory

The history of messages associated with this checkpoint.

version

The version number of the checkpoint data.

properties

Additional properties associated with the checkpoint, represented as a JSON object.