forked from kent/consciousness
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:
parent
e17118e4c9
commit
193a85bc05
1 changed files with 0 additions and 6 deletions
|
|
@ -438,9 +438,6 @@ pub(crate) struct InteractScreen {
|
||||||
history_index: Option<usize>,
|
history_index: Option<usize>,
|
||||||
active_pane: ActivePane,
|
active_pane: ActivePane,
|
||||||
pane_areas: [Rect; 3],
|
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
|
// State sync with agent — double buffer
|
||||||
last_generation: u64,
|
last_generation: u64,
|
||||||
last_entries: Vec<AstNode>,
|
last_entries: Vec<AstNode>,
|
||||||
|
|
@ -466,9 +463,6 @@ impl InteractScreen {
|
||||||
history_index: None,
|
history_index: None,
|
||||||
active_pane: ActivePane::Conversation,
|
active_pane: ActivePane::Conversation,
|
||||||
pane_areas: [Rect::default(); 3],
|
pane_areas: [Rect::default(); 3],
|
||||||
turn_started: None,
|
|
||||||
call_started: None,
|
|
||||||
call_timeout_secs: 60,
|
|
||||||
last_generation: 0,
|
last_generation: 0,
|
||||||
last_entries: Vec::new(),
|
last_entries: Vec::new(),
|
||||||
pending_display_count: 0,
|
pending_display_count: 0,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue