Open Run • AI Agent SDK

open_run: Register “run_id“ as “running“ (idempotent).

open_run

Method

</div>

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

Register `run_id as running` (idempotent).

Re-opening an existing run (e.g. on resume) preserves its journal and keeps status `running without clobbering created_at. A newly supplied checkpoint_id is bound on reopen (so a run that crashed before set_checkpoint can still resume from a caller-supplied checkpoint); a None` reopen preserves any existing binding.

Signature

python
def open_run(run_id: str) -> None

Parameters

ParamField str

No description available.

Uses

  • time.time
  • execute

Used By

Source

View on GitHub

praisonaiagents/runtime/journal.py at line 212