From 4ec0284b3e207bc0e02f498f8f30eb01168c15a5 Mon Sep 17 00:00:00 2001 From: Ahmed Ibrahim Date: Mon, 4 May 2026 00:47:23 +0300 Subject: [PATCH] codex: fix review slash dispatch --- codex-rs/tui/src/chatwidget/slash_dispatch.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/codex-rs/tui/src/chatwidget/slash_dispatch.rs b/codex-rs/tui/src/chatwidget/slash_dispatch.rs index 857c59bbdb..fd8d18a889 100644 --- a/codex-rs/tui/src/chatwidget/slash_dispatch.rs +++ b/codex-rs/tui/src/chatwidget/slash_dispatch.rs @@ -16,7 +16,6 @@ use crate::bottom_pane::slash_commands::command_available_during_task; use crate::bottom_pane::slash_commands::command_available_in_side_conversation; use crate::bottom_pane::slash_commands::command_name; use crate::bottom_pane::slash_commands::command_supports_inline_args; -use codex_protocol::protocol::ReviewRequest; #[derive(Clone, Copy, Debug, PartialEq, Eq)] enum SlashCommandDispatchSource { @@ -725,9 +724,8 @@ impl ChatWidget { self.request_side_conversation(parent_thread_id, Some(user_message)); } SlashCommandAction::Builtin(SlashCommand::Review) if !trimmed.is_empty() => { - self.submit_op(AppCommand::review(ReviewRequest { - target: ReviewTarget::Custom { instructions: args }, - user_facing_hint: None, + self.submit_op(AppCommand::review(ReviewTarget::Custom { + instructions: args, })); } SlashCommandAction::Builtin(SlashCommand::Resume) if !trimmed.is_empty() => {