RunTerminal
Defined in the Run Outcome module.AI Agent One authoritative way a run ended — a closed discriminated union.
kind is the collapsed terminal category; source records which
observer produced it (used to decide stickiness). RunTerminal is frozen
so a recorded outcome is immutable — refinement happens by producing a new
instance via :func:merge_run_terminal, never by mutation.
Properties
TerminalKind
No description available.
TerminalSource
No description available.
Optional[str]
No description available.
Internal & Generic Methods
Internal & Generic Methods
- from_dict: Rehydrate from a plain dict produced by :meth:
to_dict. - to_dict: Serialise to a plain dict (JSON/SQLite friendly, round-trippable).
Source
View on GitHub
praisonaiagents/run_outcome.py at line 371
