mirror of
https://github.com/pchuan98/codex.git
synced 2026-07-01 00:31:56 +08:00
chore: tmp remove awaiter (#13001)
This commit is contained in:
committed by
GitHub
Unverified
parent
c76bc8d1ce
commit
fe439afb81
@@ -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
|
||||
|
||||
@@ -1228,7 +1228,7 @@ mod tests {
|
||||
"spawn_agent",
|
||||
function_payload(json!({
|
||||
"message": "await this command",
|
||||
"agent_type": "awaiter"
|
||||
"agent_type": "explorer"
|
||||
})),
|
||||
);
|
||||
let output = MultiAgentHandler
|
||||
|
||||
Reference in New Issue
Block a user