plan mode: /plan makes bash/write/edit read-only; exit_plan shows the full plan for approval
This commit is contained in:
1 parent
7e0031da2f
commit
1c3b861fde
7 files changed
+135
-3
No files matched your search
@@ -1015,7 +1015,7 @@ async fn main() -> Result<()> {
|
||||
{
|
||||
// children get the parent's tools as of now (no `task`, so no recursion)
|
||||
let mut general = agent.tools.clone();
|
||||
general.retain(|n| n != "ask_user");
|
||||
general.retain(|n| n != "ask_user" && n != "exit_plan");
|
||||
let mut explore = agent.tools.clone();
|
||||
explore.retain(|n| hx_core::subagent::EXPLORE_TOOLS.contains(&n));
|
||||
let role = |model: String, tools, base: &str| hx_core::subagent::Role {
|
||||
|
||||
Reference in new issue
Block a user