mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-24 17:28:40 +00:00
remove print from prompts
This commit is contained in:
parent
d2e769027a
commit
5e1e0b4759
1 changed files with 3 additions and 5 deletions
|
@ -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)]
|
||||
|
|
Loading…
Reference in a new issue