chore: dedup review result duplication (#8057)

This commit is contained in:
jif-oai authored and GitHub committed 2025-12-17 09:10:51 +00:00
1 parent ebd1099b39
commit 2041b72da7
4 files changed
+2 -94

No files matched your search

+1 -8
View File
@@ -1952,15 +1952,8 @@ impl ChatWidget {
self.app_event_tx
.send(AppEvent::InsertHistoryCell(Box::new(body_cell)));
}
} else {
let message_text =
codex_core::review_format::format_review_findings_block(&output.findings, None);
let mut message_lines: Vec<ratatui::text::Line<'static>> = Vec::new();
append_markdown(&message_text, None, &mut message_lines);
let body_cell = AgentMessageCell::new(message_lines, true);
self.app_event_tx
.send(AppEvent::InsertHistoryCell(Box::new(body_cell)));
}
// Final message is rendered as part of the AgentMessage.
}
self.is_review_mode = false;