agent: Only require confirmation for batch tool when subset of tool calls require confirmation (#28363)

Release Notes:

- agent: Only require confirmation for batch tool when subset of tool
calls require confirmation
This commit is contained in:
Bennet Bo Fenner
2025-04-08 21:37:10 +00:00
committed by GitHub
parent ef4b5b0698
commit 47eaf274d6
23 changed files with 33 additions and 24 deletions
@@ -49,7 +49,7 @@ impl Tool for ContextServerTool {
}
}
fn needs_confirmation(&self) -> bool {
fn needs_confirmation(&self, _: &serde_json::Value, _: &App) -> bool {
true
}