Skip to main content

format_correction_note

Function format_correction_note 

Source
pub fn format_correction_note(correction_text: &str) -> String
Expand description

Format a user correction as a single bullet point for injection into the system prompt.

The correction_text must already be scrubbed by the caller before being passed here. Truncated to 200 characters to avoid inflating the context with verbose correction notes.