agent2: Support preferred_completion_mode setting (#36473)

Release Notes:

- N/A
This commit is contained in:
Bennet Bo Fenner
2025-08-19 10:40:02 +00:00
committed by GitHub
parent 97a31c59c9
commit 790a2a0cfa
+1 -1
View File
@@ -522,7 +522,7 @@ impl Thread {
id: ThreadId::new(),
prompt_id: PromptId::new(),
messages: Vec::new(),
completion_mode: CompletionMode::Normal,
completion_mode: AgentSettings::get_global(cx).preferred_completion_mode,
running_turn: None,
pending_message: None,
tools: BTreeMap::default(),