diff --git a/codex-rs/tui/src/history_cell.rs b/codex-rs/tui/src/history_cell.rs index f8790a01..50f3e315 100644 --- a/codex-rs/tui/src/history_cell.rs +++ b/codex-rs/tui/src/history_cell.rs @@ -1076,14 +1076,6 @@ pub(crate) fn new_mcp_tools_output( lines.push(vec![" • Command: ".into(), cmd_display.into()].into()); } - if let Some(env) = cfg.env.as_ref() - && !env.is_empty() - { - let mut env_pairs: Vec = env.iter().map(|(k, v)| format!("{k}={v}")).collect(); - env_pairs.sort(); - lines.push(vec![" • Env: ".into(), env_pairs.join(" ").into()].into()); - } - if names.is_empty() { lines.push(" • Tools: (none)".into()); } else {