agent2: Support preferred_completion_mode
setting (#36473)
Release Notes: - N/A
This commit is contained in:
parent
97a31c59c9
commit
790a2a0cfa
1 changed files with 1 additions and 1 deletions
|
@ -522,7 +522,7 @@ impl Thread {
|
||||||
id: ThreadId::new(),
|
id: ThreadId::new(),
|
||||||
prompt_id: PromptId::new(),
|
prompt_id: PromptId::new(),
|
||||||
messages: Vec::new(),
|
messages: Vec::new(),
|
||||||
completion_mode: CompletionMode::Normal,
|
completion_mode: AgentSettings::get_global(cx).preferred_completion_mode,
|
||||||
running_turn: None,
|
running_turn: None,
|
||||||
pending_message: None,
|
pending_message: None,
|
||||||
tools: BTreeMap::default(),
|
tools: BTreeMap::default(),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue