Skip to main content

render

Function render 

Source
pub fn render(
    partitions: &ContextPartitions,
    budget: u32,
    engine: &ContextTokenEngine,
    preserve_recent_msgs: usize,
) -> RenderedContext
Expand description

Render the context into a RenderedContext suitable for a provider API call.

Equivalent to render_projected with an empty handle table (no Layer-4 projection) and no frozen-prefix boundary (frozen_history_len = 0frozen_prefix_len is always None).