Skip to main content

blocks

Function blocks 

Source
pub fn blocks(
    config: &Config,
    spliced: &[ContextInjectionBlock],
) -> Vec<ContextInjectionBlock>
Expand description

Every block a system prompt should carry, in splice order: built-ins, then the config’s own list, then anything spliced in at runtime. Empty (and free of any work) when core.context_injections is off.