runFromCheckpoint
Runs the agent from a previously saved checkpoint.
Creates a new session and injects the checkpoint data into the session's storage so that the agent's graph strategy restores execution from the checkpoint's position. The Persistence feature does not need to be installed on the agent for this to work.
Return
The output produced by the agent after resuming from the checkpoint.
Parameters
The agent to run.
The input to provide to the agent.
The checkpoint data to restore from.
The strategy to use when restoring state. Defaults to RollbackStrategy.Default.
Optional session identifier. A random UUID is generated if not provided.
Runs the session from a previously saved checkpoint.
Injects the checkpoint data into the session's storage so that the agent's graph strategy restores execution from the checkpoint's position. The Persistence feature does not need to be installed on the agent for this to work.
Return
The output produced by the session after resuming from the checkpoint.
Parameters
The session to run.
The input to provide to the session.
The checkpoint data to restore from.
The strategy to use when restoring state. Defaults to RollbackStrategy.Default.