Skip to main content

maybe_backfill

Function maybe_backfill 

Source
fn maybe_backfill(state: &AppState, agent_id: &str)
Expand description

The first time a composer reads an agent’s history, fill it once with what the user typed in the agent’s past conversations (spec §4.7), in the background: the composer gets what is kept now, and every window hears backfill when the older entries are in. A history index still being built, or any failure, leaves it to the next read.