Skip to main content

render_plan_mode_context

Function render_plan_mode_context 

Source
pub fn render_plan_mode_context(profile_text: &str) -> String
Expand description

Render a plan-mode profile the way Claude Code injects an operating mode into a live session: as a <system-reminder> block the agent is told it is operating under, not prose it merely reads. Returns an empty string for empty input so the caller can omit the section entirely.