Package-level declarations
Types
Records the outcome of a single agent run (possibly across retries). Leaf record — no substages.
Leaf record that may carry retry history. The elapsedTime and consumption fields are the final attempt's values; the extension helpers below combine them with previousAttempts.
Records the outcome of a single prompt execution (possibly across retries). Leaf record — no substages.
Record of a stage -- the universal node in the training records tree.
Base class for all records in the training records tree.
Top-level persisted result of a training session: the tree of StageRecords plus the ExecutionMetadata captured by the runner (pod name, start/completion timestamps).
Functions
Final attempt + retry attempts. Returns NA only if every contributing value is NA.
Final attempt + retry attempts + retry wait delays.
Retry attempts only (excludes the final attempt). NA if all retries had NA consumption.
Retry-attempt elapsed + retry wait delays (excludes the final attempt).