Skip to main content

load_last_run_pointer

Function
This function is defined in the last_run module.
Load the last-run pointer, or None if none has been recorded. Returns None for a missing or malformed pointer file rather than raising, so callers can emit a typed “no completed run” message.

Signature

Returns

Optional[Dict[str, Any]]
The result of the operation.

Uses

  • last_run_pointer_path
  • path.exists
  • json.loads
  • path.read_text

Source

View on GitHub

praisonaiagents/trace/last_run.py at line 84