From ed0d23d560a9276489c4b709cc7379f4e62a665d Mon Sep 17 00:00:00 2001 From: Dylan Date: Wed, 3 Sep 2025 16:38:09 -0700 Subject: [PATCH] [tui] Update /mcp output (#3134) # Summary Quick update to clean up MCP output ## Testing - [x] Ran locally, confirmed output looked good --- codex-rs/tui/src/history_cell.rs | 8 -------- 1 file changed, 8 deletions(-) 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 {