docs(checkpoint): distinguish auto vs manual checkpoint failure semantics

This commit is contained in:
Greyson Lalonde
2026-05-26 00:07:54 -07:00
parent 213c017c80
commit 207ab59437
2 changed files with 2 additions and 2 deletions

View File

@@ -44,7 +44,7 @@ Two providers ship with CrewAI:
Both prune oldest checkpoints when `max_checkpoints` is set.
<Note>
Checkpoint writes are best-effort. A failed checkpoint is logged but does not interrupt the run.
Auto-checkpoint writes (event-driven) are best-effort: a failed write is logged and the run continues. Manual `state.checkpoint()` and `state.acheckpoint()` calls re-raise on failure.
</Note>
### Inheritance model

View File

@@ -44,7 +44,7 @@ Dois provedores acompanham o CrewAI:
Ambos removem os checkpoints mais antigos quando `max_checkpoints` está definido.
<Note>
As gravações de checkpoint são best-effort. Um checkpoint que falha é registrado em log, mas não interrompe a execução.
Gravações de checkpoint automáticas (acionadas por evento) são best-effort: uma falha é registrada em log e a execução continua. Chamadas manuais a `state.checkpoint()` e `state.acheckpoint()` relançam a exceção.
</Note>
### Modelo de herança