mirror of
https://github.com/openai/codex.git
synced 2026-11-23 23:10:47 +00:00
chore: dedup review result duplication (#8057)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user