Lightweight coding agent that runs in your terminal
Rust
Narrow async user message guidance (#42677)
rka-oaif3f6922519fa
diff --git a/codex-rs/core/src/tools/handlers/send_message_to_user_async.rs b/codex-rs/core/src/tools/handlers/send_message_to_user_async.rsindex 2dcc61ee93..4d390028f1 100644--- a/codex-rs/core/src/tools/handlers/send_message_to_user_async.rs+++ b/codex-rs/core/src/tools/handlers/send_message_to_user_async.rs@@ -43,7 +43,7 @@ impl ToolExecutor<ToolInvocation> for SendMessageToUserAsyncHandler {ToolSpec::Function(ResponsesApiTool {name: TOOL_NAME.to_string(),- description: "Send a concise message that needs the user's attention during ongoing work. The tool returns immediately without ending the turn or waiting for a reply; any reply arrives asynchronously as a new user message. Use this tool to ask for missing information, preferences, constraints, clarification, or approval; report a critical blocker or a finding that may change the task's direction; or answer a user question or status request received while work is still in progress. Use this tool when a message needs the user's immediate attention; use commentary for routine progress and intermediate context. Use clear formatting, such as bolding questions, to make requests easy to notice and answer."+ description: "Send a concise message that needs the user's attention during ongoing work. The tool returns immediately without ending the turn or waiting for a reply; any reply arrives asynchronously as a new user message. Use this tool to report a critical blocker or a finding that may change the task's direction, or to answer a user question or status request received while work is still in progress. Use this tool when a message needs the user's immediate attention; use commentary for routine progress and intermediate context. Use clear formatting, such as bolding questions, to make requests easy to notice and answer.".to_string(),strict: false,defer_loading: None,