Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

chore: tmp remove awaiter (#13001)

jif-oaife439afb81c1
diff --git a/codex-rs/core/src/agent/role.rs b/codex-rs/core/src/agent/role.rs
index 766497cda0..3b34d3a71e 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 16ff943ab6..076a496a49 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