From 7ffdf67d838814af09a5ed88dd808a80c2b51076 Mon Sep 17 00:00:00 2001 From: Ahmed Ibrahim Date: Sun, 3 May 2026 03:16:09 +0300 Subject: [PATCH] codex: fix CI failure on PR #20824 --- codex-rs/tui/src/chatwidget/slash_dispatch.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/codex-rs/tui/src/chatwidget/slash_dispatch.rs b/codex-rs/tui/src/chatwidget/slash_dispatch.rs index 3be04e0788..658e9ca6eb 100644 --- a/codex-rs/tui/src/chatwidget/slash_dispatch.rs +++ b/codex-rs/tui/src/chatwidget/slash_dispatch.rs @@ -455,10 +455,11 @@ impl ChatWidget { /// path as well would make a single command appear twice during Up-arrow navigation. pub(super) fn dispatch_command_with_args( &mut self, - cmd: SlashCommandAction, + cmd: impl Into, args: String, text_elements: Vec, ) { + let cmd = cmd.into(); if !self.ensure_slash_command_allowed_in_side_conversation(&cmd) { return; }