mirror of
https://github.com/openai/codex.git
synced 2026-09-06 15:29:32 +00:00
Narrow async user message guidance (#42677)
## What changed Remove guidance that told `send_message_to_user_async` to request missing information, preferences, constraints, clarification, or approval. Keep the tool focused on critical blockers, direction-changing findings, and replies to user questions or status requests during ongoing work. GitOrigin-RevId: c764ffc2b9c14e37467bd25ee3ed07407d550290
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user