mirror of
https://github.com/openai/codex.git
synced 2026-11-26 23:40:43 +00:00
Collapse turn details by default in the full-screen transcript (#63788)
## What changed Summarize tool calls and collapse completed turns when `tui.collapse_turn_details` is unset, including when the entire `[tui]` table is absent. Set `tui.collapse_turn_details = false` to opt out. Keep patches out of tool-call summaries so their inline diffs stay available for review during approval. Record the configured setting at startup with the `codex.tui.collapse_turn_details` counter. ## Testing Update configuration tests to cover the new default and an explicit opt-out. GitOrigin-RevId: 8a1de12bd2a26f445bbc1eee68f31fe93fe4925a
This commit is contained in:
@@ -255,7 +255,8 @@ impl TurnDetails {
|
||||
{
|
||||
self.pending.push((start + index, tool.clone()));
|
||||
}
|
||||
if calls.is_empty() {
|
||||
// Keep the patch's inline diff disclosure available for approval.
|
||||
if calls.is_empty() || any.is::<crate::history_cell::PatchHistoryCell>() {
|
||||
group.finish(rows, cells);
|
||||
} else {
|
||||
if let Some(exec) = any.downcast_ref::<crate::exec_cell::ExecCell>()
|
||||
|
||||
Reference in New Issue
Block a user