Skip to main content

select_context

Function select_context 

Source
pub fn select_context(
    input: &SelectionInput,
    limits: ModelContextLimits,
) -> ContextLedger
Expand description

Select the context working set for a turn.

Builds a ContextLedger from SelectionInput and the resolved ModelContextLimits. The policy is deterministic for the same inputs.