Skip to main content
Version: latest

agrag.common.data_models.task.WriteResult

Bases: BaseModel

Base outcome of a task memory write.

Attributes:

  • recorded (bool) – Whether the write is in effect. A retry with the same request id reports the stored outcome of the first call.
  • error (MemoryErrorCode | None) – The fixed error code when recorded is false.

error​

error: MemoryErrorCode | None = None

model_config​

model_config = ConfigDict(frozen=True)

recorded​

recorded: bool