chat: remove dead timeout fields from InteractScreen

turn_started, call_started, call_timeout_secs were declared and
initialized but never read.

Co-Authored-By: Kent Overstreet <kent.overstreet@gmail.com>
This commit is contained in:
ProofOfConcept 2026-04-11 01:47:57 -04:00
parent e17118e4c9
commit 193a85bc05

View file

@ -438,9 +438,6 @@ pub(crate) struct InteractScreen {
history_index: Option<usize>,
active_pane: ActivePane,
pane_areas: [Rect; 3],
turn_started: Option<std::time::Instant>,
call_started: Option<std::time::Instant>,
call_timeout_secs: u64,
// State sync with agent — double buffer
last_generation: u64,
last_entries: Vec<AstNode>,
@ -466,9 +463,6 @@ impl InteractScreen {
history_index: None,
active_pane: ActivePane::Conversation,
pane_areas: [Rect::default(); 3],
turn_started: None,
call_started: None,
call_timeout_secs: 60,
last_generation: 0,
last_entries: Vec::new(),
pending_display_count: 0,