Lightweight coding agent that runs in your terminal
Rust
nit: doc (#26566)
jif6dc28ba6e0ac
diff --git a/codex-rs/core/src/tools/handlers/multi_agents_spec.rs b/codex-rs/core/src/tools/handlers/multi_agents_spec.rsindex 891ac5a592..1dcb55f436 100644--- a/codex-rs/core/src/tools/handlers/multi_agents_spec.rs+++ b/codex-rs/core/src/tools/handlers/multi_agents_spec.rs@@ -207,7 +207,7 @@ pub fn create_followup_task_tool() -> ToolSpec {ToolSpec::Function(ResponsesApiTool {name: "followup_task".to_string(),- description: "Send a follow-up task to an existing non-root target agent and trigger a turn in that target. If the target is currently mid-turn, the message is queued and will be used to start the target's next turn, after the current turn completes."+ description: "Send a follow-up task to an existing non-root target agent and trigger a turn if it is idle. If the target is already running, deliver the task promptly at message boundaries while sampling, or after the pending tool call completes.".to_string(),strict: false,defer_loading: None,diff --git a/codex-rs/core/src/tools/handlers/multi_agents_spec_tests.rs b/codex-rs/core/src/tools/handlers/multi_agents_spec_tests.rsindex 0ae94079e9..512e318a82 100644--- a/codex-rs/core/src/tools/handlers/multi_agents_spec_tests.rs+++ b/codex-rs/core/src/tools/handlers/multi_agents_spec_tests.rs@@ -296,6 +296,7 @@ fn send_message_tool_requires_message_and_has_no_output_schema() {fn followup_task_tool_requires_message_and_has_no_output_schema() {let ToolSpec::Function(ResponsesApiTool {name,+ description,parameters,output_schema,..@@ -304,6 +305,10 @@ fn followup_task_tool_requires_message_and_has_no_output_schema() {panic!("followup_task should be a function tool");};assert_eq!(name, "followup_task");+ assert_eq!(+ description,+ "Send a follow-up task to an existing non-root target agent and trigger a turn if it is idle. If the target is already running, deliver the task promptly at message boundaries while sampling, or after the pending tool call completes."+ );assert_eq!(parameters.schema_type,Some(JsonSchemaType::Single(JsonSchemaPrimitiveType::Object))