Skip to main content

bounded_instructions_preview

Function bounded_instructions_preview 

Source
pub fn bounded_instructions_preview(instructions: &str) -> (String, bool, usize)
Expand description

Bounds instructions_preview for the RPC response — returns (preview, truncated, total_chars). The full, untruncated instructions value is unaffected; this only bounds what’s echoed back for display (Phase 3 spec §3.1, rounds 5 and 8).