Skip to main content

checkpoint

Function checkpoint 

Source
pub fn checkpoint(
    agent: &Agent,
    store: &SessionStore,
    name: &str,
    messages: usize,
)
Expand description

BP-8 — the mirror of arm, run every time the durable view is rewritten: declare the journal caught up and write the plan and tree beside the transcript.

messages is the length of the view just written, which is what the recovery comparison in arm tests against.