decrease temperature for inline assist on code content

This commit is contained in:
KCaverly 2023-10-19 15:44:49 -04:00
parent e45491d2f8
commit 71fb23f769
3 changed files with 23 additions and 1 deletions

View file

@ -53,6 +53,8 @@ pub struct OpenAIRequest {
pub model: String,
pub messages: Vec<RequestMessage>,
pub stream: bool,
pub stop: Vec<String>,
pub temperature: f32,
}
#[derive(Serialize, Deserialize, Debug, Eq, PartialEq)]

View file

@ -78,7 +78,7 @@ impl PromptTemplate for GenerateInlineContent {
match file_type {
PromptFileType::Code => {
writeln!(prompt, "Always wrap your code in a Markdown block.").unwrap();
// writeln!(prompt, "Always wrap your code in a Markdown block.").unwrap();
}
_ => {}
}