Set Checkpoint • AI Agent SDK

set_checkpoint: Bind the latest files checkpoint to “run_id“ for resume.

set_checkpoint

Method

</div>

This is a method of the RunJournal class in the journal module.

Bind the latest files checkpoint to `run_id` for resume.

Signature

python
def set_checkpoint(run_id: str, checkpoint_id: str) -> None

Parameters

ParamField str

No description available.

ParamField str

No description available.

Uses

  • execute
  • time.time

Source

View on GitHub

praisonaiagents/runtime/journal.py at line 254