Lightweight coding agent that runs in your terminal
Rust
nit: update wait v2 desc (#16425)
jif-oaidf5f79da36e2
diff --git a/codex-rs/tools/src/agent_tool.rs b/codex-rs/tools/src/agent_tool.rsindex dcb816b684..72e0d6bc40 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,