decrease temperature for inline assist on code content
This commit is contained in:
parent
e45491d2f8
commit
71fb23f769
3 changed files with 23 additions and 1 deletions
|
@ -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)]
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
_ => {}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue