Skip to main content

build_rtdl_prompt

Function build_rtdl_prompt 

Source
fn build_rtdl_prompt(
    display_caps: &[DisplayCapability<'_>],
    full_protocol: bool,
) -> Result<String>
Expand description

Build the per-round protocol + capability catalog. full_protocol ships the complete spec (round 0); otherwise a one-line reminder. The capability catalog is always included because providers can change mid-turn.