Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

chore: better awaiter description (#12901)

jif-oai81ce645733fa
diff --git a/codex-rs/core/src/agent/role.rs b/codex-rs/core/src/agent/role.rs
index ba9bb51a0d..81fd0b4d39 100644
--- a/codex-rs/core/src/agent/role.rs
+++ b/codex-rs/core/src/agent/role.rs
@@ -190,13 +190,15 @@ Rules:
(
"awaiter".to_string(),
AgentRoleConfig {
- description: Some(r#"Use an `awaiter` agent EVERY TIME you must run a command that might take some time.
+ description: Some(r#"Use an `awaiter` agent EVERY TIME you must run a command that might take some very long time.
This includes, but not only:
* testing
* monitoring of a long running process
* explicit ask to wait for something
-When YOU wait for the `awaiter` agent to be done, use the largest possible timeout."#.to_string()),
+When YOU wait for the `awaiter` agent to be done, use the largest possible timeout.
+Be patient with the `awaiter`.
+Close the awaiter when you're done with it."#.to_string()),
config_file: Some("awaiter.toml".to_string().parse().unwrap_or_default()),
}
)