acp: Tool name prep (#36726)

Prep work for deduping tool names

Release Notes:

- N/A
This commit is contained in:
Ben Brandt
2025-08-22 00:37:41 +00:00
committed by GitHub
parent ca139b701e
commit e1a96b68f0
21 changed files with 126 additions and 123 deletions
+3 -3
View File
@@ -67,11 +67,11 @@ impl AgentTool for GrepTool {
type Input = GrepToolInput;
type Output = String;
fn name(&self) -> SharedString {
"grep".into()
fn name() -> &'static str {
"grep"
}
fn kind(&self) -> acp::ToolKind {
fn kind() -> acp::ToolKind {
acp::ToolKind::Search
}