Close Run • AI Agent SDK

close_run: Mark “run_id“ terminal so it is no longer resumed on restart.

close_run

Method

</div>

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

Mark `run_id` terminal so it is no longer resumed on restart.

Signature

python
def close_run(run_id: str, outcome: str) -> None

Parameters

ParamField str

No description available.

ParamField str

No description available.

Uses

  • execute
  • time.time

Used By

Source

View on GitHub

praisonaiagents/runtime/journal.py at line 263