ExAgent.CheckpointError (ExAgent v3.0.0)

View Source

A state transition whose checkpoint was not confirmed by the configured Store.

Stability — Stable.

result preserves the execution outcome, including completed output or partial progress. The new state remains in memory. Retry Server.checkpoint/1 or Session.checkpoint/1, never the prompt, tool or change function. A failed save does not prove the backend did not write. This runtime value can contain a live model; use the event projection rather than serializing it directly.

A tool that returns {:error, checkpoint_error} records an :unknown outcome with a fixed message. Its bounded cause remains available in RunError.reason.

Summary

Types

t()

@type t() :: %ExAgent.CheckpointError{
  operation: atom(),
  reason: term(),
  result: term(),
  revision: non_neg_integer()
}