Skip to main content

reattach_fragments

Function reattach_fragments 

Source
pub fn reattach_fragments(
    history: &[Message],
    bodies: &[PromptFragment],
    model: &str,
    context_limit: usize,
    budget: SkillReattachmentBudget,
    options: RenderOptions,
) -> (Vec<Message>, Vec<PromptFragment>)
Expand description

Equivalent pure-data seam for contributors: body fragments are oldest-first.