From df5f79da36e2c116b56607564fcb3c149e952307 Mon Sep 17 00:00:00 2001 From: jif-oai Date: Wed, 1 Apr 2026 12:26:25 +0200 Subject: [PATCH] nit: update wait v2 desc (#16425) --- codex-rs/tools/src/agent_tool.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codex-rs/tools/src/agent_tool.rs b/codex-rs/tools/src/agent_tool.rs index dcb816b68..72e0d6bc4 100644 --- a/codex-rs/tools/src/agent_tool.rs +++ b/codex-rs/tools/src/agent_tool.rs @@ -231,7 +231,7 @@ pub fn create_wait_agent_tool_v1(options: WaitAgentTimeoutOptions) -> ToolSpec { pub fn create_wait_agent_tool_v2(options: WaitAgentTimeoutOptions) -> ToolSpec { ToolSpec::Function(ResponsesApiTool { name: "wait_agent".to_string(), - description: "Wait for agents to reach a final status. Returns a brief wait summary instead of the agent's final content. Returns a timeout summary when no agent reaches a final status before the deadline." + description: "Wait for a mailbox update from any live agent, including queued messages and final-status notifications. Returns a brief wait summary instead of agent content, or a timeout summary if no mailbox update arrives before the deadline." .to_string(), strict: false, defer_loading: None,