Skip to main content
Version: latest

agrag.common.data_models.decision.RecordDecisionResult

Bases: WriteResult

The outcome of recording a decision.

Attributes:

  • decision (Decision | None) – The stored decision when recorded is true.
  • warnings (list[str]) – Notes for the caller, such as a source that changed while the decision was recorded.

decision​

decision: Decision | None = None

error​

error: MemoryErrorCode | None = None

model_config​

model_config = ConfigDict(frozen=True)

recorded​

recorded: bool

warnings​

warnings: list[str] = Field(default_factory=list)