From 7bdbbb06ebed9e86b419f5a5ffb7a0b38a19818d Mon Sep 17 00:00:00 2001 From: Ahmed Ibrahim Date: Wed, 25 Feb 2026 09:03:24 -0800 Subject: [PATCH] fix --- codex-rs/core/src/tools/handlers/request_user_input.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/codex-rs/core/src/tools/handlers/request_user_input.rs b/codex-rs/core/src/tools/handlers/request_user_input.rs index 656d173539..3e6c1e2d67 100644 --- a/codex-rs/core/src/tools/handlers/request_user_input.rs +++ b/codex-rs/core/src/tools/handlers/request_user_input.rs @@ -41,7 +41,7 @@ pub(crate) fn request_user_input_unavailable_message(mode: ModeKind) -> Option String { let allowed_modes = format_allowed_modes(); format!( - "Request user input for one to three short questions and wait for the response. Before calling this tool, send a user-facing update that summarizes the available choices and why you need them. This tool is only available in {allowed_modes}." + "Request user input for one to three short questions and wait for the response. Before calling this tool, send a user-facing update that explains all the available choices and why you need them. This tool is only available in {allowed_modes}." ) } @@ -145,7 +145,7 @@ mod tests { fn request_user_input_tool_description_mentions_plan_only() { assert_eq!( request_user_input_tool_description(), - "Request user input for one to three short questions and wait for the response. Before calling this tool, send a user-facing update that summarizes the available choices and why you need them. This tool is only available in Plan mode.".to_string() + "Request user input for one to three short questions and wait for the response. Before calling this tool, send a user-facing update that explains all the available choices and why you need them. This tool is only available in Plan mode.".to_string() ); } }