mirror of
https://github.com/openai/codex.git
synced 2026-11-13 14:46:14 +00:00
chore: dedup review result duplication (#8057)
This commit is contained in:
1 parent
ebd1099b39
commit
2041b72da7
4 files changed
+2
-94
No files matched your search
@@ -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