From fe439afb81c1ba9999a29e9e996ac6fca561ae4a Mon Sep 17 00:00:00 2001 From: jif-oai Date: Fri, 27 Feb 2026 13:22:17 +0100 Subject: [PATCH] chore: tmp remove awaiter (#13001) --- codex-rs/core/src/agent/role.rs | 35 ++++++++++--------- .../core/src/tools/handlers/multi_agents.rs | 2 +- 2 files changed, 19 insertions(+), 18 deletions(-) diff --git a/codex-rs/core/src/agent/role.rs b/codex-rs/core/src/agent/role.rs index 766497cda..3b34d3a71 100644 --- a/codex-rs/core/src/agent/role.rs +++ b/codex-rs/core/src/agent/role.rs @@ -187,23 +187,24 @@ Rules: config_file: None, } ), - ( - "awaiter".to_string(), - AgentRoleConfig { - description: Some(r#"Use an `awaiter` agent EVERY TIME you must run a command that will take some very long time. -This includes, but not only: -* testing -* monitoring of a long running process -* explicit ask to wait for something - -Rules: -- When an awaiter is running, you can work on something else. If you need to wait for its completion, use the largest possible timeout. -- Be patient with the `awaiter`. -- Do not use an awaiter for every compilation/test if it won't take time. Only use if for long running commands. -- Close the awaiter when you're done with it."#.to_string()), - config_file: Some("awaiter.toml".to_string().parse().unwrap_or_default()), - } - ) + // Awaiter is temp removed +// ( +// "awaiter".to_string(), +// AgentRoleConfig { +// description: Some(r#"Use an `awaiter` agent EVERY TIME you must run a command that will take some very long time. +// This includes, but not only: +// * testing +// * monitoring of a long running process +// * explicit ask to wait for something +// +// Rules: +// - When an awaiter is running, you can work on something else. If you need to wait for its completion, use the largest possible timeout. +// - Be patient with the `awaiter`. +// - Do not use an awaiter for every compilation/test if it won't take time. Only use if for long running commands. +// - Close the awaiter when you're done with it."#.to_string()), +// config_file: Some("awaiter.toml".to_string().parse().unwrap_or_default()), +// } +// ) ]) }); &CONFIG diff --git a/codex-rs/core/src/tools/handlers/multi_agents.rs b/codex-rs/core/src/tools/handlers/multi_agents.rs index 16ff943ab..076a496a4 100644 --- a/codex-rs/core/src/tools/handlers/multi_agents.rs +++ b/codex-rs/core/src/tools/handlers/multi_agents.rs @@ -1228,7 +1228,7 @@ mod tests { "spawn_agent", function_payload(json!({ "message": "await this command", - "agent_type": "awaiter" + "agent_type": "explorer" })), ); let output = MultiAgentHandler