Replay Index • AI Agent SDK
replay_index: Return a “(seq, kind): payload“ lookup for memoised replay.
replay_index
Method
</div>
This is a method of the RunJournal class in the journal module.
Return a `{(seq, kind): payload}` lookup for memoised replay.
The loop consults this during replay: a hit returns the recorded result instantly (no re-execution); a miss means real work restarts there.
Signature
def replay_index(run_id: str) -> Dict[tuple, Dict[str, Any]]Parameters
ParamField
strNo description available.
Returns
ResponseField
Dict[tuple, Dict[str, Any]]The result of the operation.
Uses
events
Source
View on GitHubpraisonaiagents/runtime/journal.py at line 380