Skip to main content

replace_materialized_queued_prompts

Function replace_materialized_queued_prompts 

Source
pub fn replace_materialized_queued_prompts(
    session_id: &str,
    queued_prompts: &[MaterializedQueuedPrompt],
) -> Result<()>
Expand description

Replace a session’s durable prompt queue without touching its transcript or event frontier. Resume uses this when it keeps the stored projection but still has to drop the queue the archive carried.