append • AI Agent SDK
append: Append “ev“ to the journal (idempotent on “run_id/seq/kind“).
append
Method
</div>
This is a method of the RunJournal class in the journal module.
Append `ev to the journal (idempotent on run_id/seq/kind`).
Re-appending the same `(run_id, seq, kind)` — which happens if a replayed step is (harmlessly) re-journalled — updates the payload rather than raising, keeping the journal the single source of truth.
Signature
def append(ev: JournalEvent) -> NoneParameters
ParamField
JournalEventNo description available.
Uses
ValueErrorexecute
Source
View on GitHubpraisonaiagents/runtime/journal.py at line 327