Skip to main content

skills_prompt_mode_with_loader_fallback

Function skills_prompt_mode_with_loader_fallback 

pub fn skills_prompt_mode_with_loader_fallback(
    mode: SkillsPromptInjectionMode,
    read_skill_available: bool,
) -> SkillsPromptInjectionMode
Expand description

Resolve compact skill prompting against the effective tool surface. Compact mode is only safe when read_skill is available for the turn.