Compare commits

...

2 Commits

Author SHA1 Message Date
jif-oai
83e3a31d7d Fix tests 2025-10-22 12:10:26 +01:00
jif-oai
ecb6dc2112 fix: pending message while streaming final response 2025-10-22 12:05:35 +01:00
2 changed files with 3 additions and 2 deletions

View File

@@ -650,7 +650,6 @@ impl ChatWidget {
if let Some(controller) = self.stream_controller.as_mut() {
let (cell, is_idle) = controller.on_commit_tick();
if let Some(cell) = cell {
self.bottom_pane.hide_status_indicator();
self.add_boxed_history(cell);
}
if is_idle {

View File

@@ -659,7 +659,9 @@ fn streaming_final_answer_keeps_task_running_state() {
chat.on_commit_tick();
assert!(chat.bottom_pane.is_task_running());
assert!(chat.bottom_pane.status_widget().is_none());
// Status indicator remains visible while the final answer streams so queued
// messages and the Esc-to-interrupt hint stay accessible.
assert!(chat.bottom_pane.status_widget().is_some());
chat.bottom_pane
.set_composer_text("queued submission".to_string());