pub fn render_context_packets(packets: &[ContextPacket]) -> Option<String>Expand description
Renders context packets into a text block for injection into the system prompt, sorted by descending priority.
Returns None if the slice is empty.
pub fn render_context_packets(packets: &[ContextPacket]) -> Option<String>Renders context packets into a text block for injection into the system prompt, sorted by descending priority.
Returns None if the slice is empty.