diff --git a/crates/edit_prediction/src/mercury.rs b/crates/edit_prediction/src/mercury.rs index 8186fc5d8c609468be04c117eabac11c6c015efd..ddf30976e429df7d869888c09b331c16384bee38 100644 --- a/crates/edit_prediction/src/mercury.rs +++ b/crates/edit_prediction/src/mercury.rs @@ -293,6 +293,7 @@ fn build_prompt(inputs: &ZetaPromptInput) -> String { fn push_delimited(prompt: &mut String, delimiters: Range<&str>, cb: impl FnOnce(&mut String)) { prompt.push_str(delimiters.start); cb(prompt); + prompt.push('\n'); prompt.push_str(delimiters.end); }