fix(tui): keep queued prompts paused after upload failures

This commit is contained in:
Edward Frazer
2026-05-07 15:27:09 -07:00
parent 2ef43576a8
commit c4db72b9f9
2 changed files with 2 additions and 3 deletions
+2 -2
View File
@@ -1052,7 +1052,7 @@ mod tests {
&mut pending_binary_waiters,
&mut pending_binary_packets,
vec![1, 2, 3],
1,
/*max_pending_binary_packets*/ 1,
);
assert!(pending_binary_packets.is_empty());
@@ -1074,7 +1074,7 @@ mod tests {
&mut pending_binary_waiters,
&mut pending_binary_packets,
vec![4, 5, 6],
1,
/*max_pending_binary_packets*/ 1,
));
assert_eq!(pending_binary_packets, VecDeque::from([vec![1, 2, 3]]));
}
-1
View File
@@ -679,7 +679,6 @@ impl App {
"Failed to upload '{}': {err}",
local_path.display()
));
self.chat_widget.maybe_send_next_queued_input();
}
},
AppEvent::RefreshRateLimits { origin } => {