Lightweight coding agent that runs in your terminal
Rust
Clarify when to send asynchronous user messages (#41070)
rka-oai218a3e50ae9f
diff --git a/codex-rs/core/src/tools/handlers/send_user_message_async.rs b/codex-rs/core/src/tools/handlers/send_user_message_async.rsindex cb3a958a02..8de41adf9b 100644--- a/codex-rs/core/src/tools/handlers/send_user_message_async.rs+++ b/codex-rs/core/src/tools/handlers/send_user_message_async.rs@@ -43,7 +43,7 @@ impl ToolExecutor<ToolInvocation> for SendUserMessageAsyncHandler {ToolSpec::Function(ResponsesApiTool {name: TOOL_NAME.to_string(),- description: "Send a concise, user-visible acknowledgment, important update, or blocking question. Returns immediately; any reply arrives asynchronously as a new user message."+ 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.".to_string(),strict: false,defer_loading: None,