diff --git a/crates/tui/src/runtime_threads.rs b/crates/tui/src/runtime_threads.rs index 787142ba4..41b8f35d1 100644 --- a/crates/tui/src/runtime_threads.rs +++ b/crates/tui/src/runtime_threads.rs @@ -865,6 +865,15 @@ impl RuntimeThreadManager { err ); } + + { + let mut active = self.active.lock().await; + if let Some(state) = active.engines.get_mut(thread_id) { + if let Some(turn) = state.active_turn.as_mut() { + turn.auto_approve = true; + } + } + } } #[must_use]