From 646fc7fd6a0e3fb3c378e64c67e3179d121d5266 Mon Sep 17 00:00:00 2001 From: Ahmed Ibrahim Date: Thu, 7 May 2026 22:11:31 +0300 Subject: [PATCH] codex: fix CI failure on PR #20978 Update the service-tier slash dispatch path to stage history through the text-based helper after the built-in command history helper started requiring a SlashCommand argument. Co-authored-by: Codex --- codex-rs/tui/src/bottom_pane/chat_composer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codex-rs/tui/src/bottom_pane/chat_composer.rs b/codex-rs/tui/src/bottom_pane/chat_composer.rs index 4595713f1c..c285fed486 100644 --- a/codex-rs/tui/src/bottom_pane/chat_composer.rs +++ b/codex-rs/tui/src/bottom_pane/chat_composer.rs @@ -2855,7 +2855,7 @@ impl ChatComposer { return None; } if let Some(command) = self.find_service_tier_command(name) { - self.stage_slash_command_history(); + self.stage_slash_command_history_text(self.textarea.text().trim().to_string()); self.textarea.set_text_clearing_elements(""); self.is_bash_mode = false; return Some(InputResult::ServiceTierCommand(command));