mirror of
https://github.com/openai/codex.git
synced 2026-11-22 23:00:42 +00:00
fix(tui): keep queued prompts paused after upload failures
This commit is contained in:
@@ -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]]));
|
||||
}
|
||||
|
||||
@@ -679,7 +679,6 @@ impl App {
|
||||
"Failed to upload '{}': {err}",
|
||||
local_path.display()
|
||||
));
|
||||
self.chat_widget.maybe_send_next_queued_input();
|
||||
}
|
||||
},
|
||||
AppEvent::RefreshRateLimits { origin } => {
|
||||
|
||||
Reference in New Issue
Block a user