agent2: Use correct completion intent when generating summary (#36573)
Release Notes: - N/A
This commit is contained in:
parent
0a80209c5e
commit
a32a264508
1 changed files with 1 additions and 1 deletions
|
@ -1541,7 +1541,7 @@ impl Thread {
|
||||||
return Task::ready(Err(anyhow!("No summarization model available")));
|
return Task::ready(Err(anyhow!("No summarization model available")));
|
||||||
};
|
};
|
||||||
let mut request = LanguageModelRequest {
|
let mut request = LanguageModelRequest {
|
||||||
intent: Some(CompletionIntent::ThreadSummarization),
|
intent: Some(CompletionIntent::ThreadContextSummarization),
|
||||||
temperature: AgentSettings::temperature_for_model(&model, cx),
|
temperature: AgentSettings::temperature_for_model(&model, cx),
|
||||||
..Default::default()
|
..Default::default()
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue