From b70f21c08debeaa1960bf9a0f3760361e70a0c50 Mon Sep 17 00:00:00 2001 From: Marshall Bowers Date: Tue, 18 Mar 2025 12:20:15 -0400 Subject: [PATCH] assistant_tools: Rename `RegexSearchTool` module to match the others (#27001) This PR renames the `RegexSearchTool` module to `regex_search_tool.rs` to match the other tools. Release Notes: - N/A --- crates/assistant_tools/src/assistant_tools.rs | 4 ++-- .../src/{regex_search.rs => regex_search_tool.rs} | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename crates/assistant_tools/src/{regex_search.rs => regex_search_tool.rs} (100%) diff --git a/crates/assistant_tools/src/assistant_tools.rs b/crates/assistant_tools/src/assistant_tools.rs index 17d80264cd..21eab55598 100644 --- a/crates/assistant_tools/src/assistant_tools.rs +++ b/crates/assistant_tools/src/assistant_tools.rs @@ -6,7 +6,7 @@ mod list_directory_tool; mod now_tool; mod path_search_tool; mod read_file_tool; -mod regex_search; +mod regex_search_tool; mod thinking_tool; use assistant_tool::ToolRegistry; @@ -20,7 +20,7 @@ use crate::list_directory_tool::ListDirectoryTool; use crate::now_tool::NowTool; use crate::path_search_tool::PathSearchTool; use crate::read_file_tool::ReadFileTool; -use crate::regex_search::RegexSearchTool; +use crate::regex_search_tool::RegexSearchTool; use crate::thinking_tool::ThinkingTool; pub fn init(cx: &mut App) { diff --git a/crates/assistant_tools/src/regex_search.rs b/crates/assistant_tools/src/regex_search_tool.rs similarity index 100% rename from crates/assistant_tools/src/regex_search.rs rename to crates/assistant_tools/src/regex_search_tool.rs