Skip to main content

role_fragment

Function role_fragment 

Source
pub fn role_fragment(role: PairRole, peer: Option<&str>) -> String
Expand description

Explain the pair handoff for one dispatched turn.

peer optionally names the counterpart agent. The reviewer fragment asks for concrete defects or a concise approval; the implementer fragment makes the upcoming review explicit. Neither fragment mentions the stop token, so stop eligibility stays governed by the existing prompt footer.