mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-07-01 13:18:10 +00:00
docs(checkpoint): distinguish auto vs manual checkpoint failure semantics
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user