Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

remove print from prompts

KCaverly5e1e0b475936
diff --git a/crates/assistant/src/prompts.rs b/crates/assistant/src/prompts.rs
index 3550c4223ca..2fdca046ad0 100644
--- a/crates/assistant/src/prompts.rs
+++ b/crates/assistant/src/prompts.rs
@@ -245,8 +245,8 @@ pub fn generate_content_prompt(
));
}
prompts.push("Never make remarks about the output.".to_string());
- prompts.push("DO NOT return any text, except the generated code.".to_string());
- prompts.push("DO NOT wrap your text in a Markdown block".to_string());
+ prompts.push("Do not return any text, except the generated code.".to_string());
+ prompts.push("Do not wrap your text in a Markdown block".to_string());
let current_messages = [ChatCompletionRequestMessage {
role: "user".to_string(),
@@ -300,9 +300,7 @@ pub fn generate_content_prompt(
}
}
- let prompt = prompts.join("\n");
- println!("PROMPT: {:?}", prompt);
- prompt
+ prompts.join("\n")
}
#[cfg(test)]