refactor: rename search tool for clarity and consistency

- Updated the tool name from "search" to "search_files" across multiple files to better reflect its functionality.
- Adjusted related documentation and descriptions to ensure clarity in usage and expected behavior.
- Enhanced the toolset definitions and mappings to incorporate the new naming convention, improving overall consistency in the codebase.
This commit is contained in:
teknium1 2026-02-20 02:43:57 -08:00
parent ba8b80a163
commit f9eb5edb96
6 changed files with 31 additions and 29 deletions

View file

@ -104,7 +104,7 @@ TOOLSETS = {
"file": {
"description": "File manipulation tools: read, write, patch (with fuzzy matching), and search (content + files)",
"tools": ["read_file", "write_file", "patch", "search"],
"tools": ["read_file", "write_file", "patch", "search_files"],
"includes": []
},
@ -171,7 +171,7 @@ TOOLSETS = {
# Terminal + process management
"terminal", "process",
# File manipulation
"read_file", "write_file", "patch", "search",
"read_file", "write_file", "patch", "search_files",
# Vision
"vision_analyze",
# Image generation
@ -213,7 +213,7 @@ TOOLSETS = {
# Terminal + process management
"terminal", "process",
# File manipulation
"read_file", "write_file", "patch", "search",
"read_file", "write_file", "patch", "search_files",
# Web tools
"web_search", "web_extract",
# Vision - analyze images sent by users
@ -251,7 +251,7 @@ TOOLSETS = {
# Terminal + process management
"terminal", "process",
# File manipulation
"read_file", "write_file", "patch", "search",
"read_file", "write_file", "patch", "search_files",
# Web tools
"web_search", "web_extract",
# Vision - analyze images sent by users
@ -291,7 +291,7 @@ TOOLSETS = {
# Terminal + process management
"terminal", "process",
# File manipulation
"read_file", "write_file", "patch", "search",
"read_file", "write_file", "patch", "search_files",
# Vision
"vision_analyze",
# Image generation
@ -327,7 +327,7 @@ TOOLSETS = {
# Terminal + process management
"terminal", "process",
# File manipulation
"read_file", "write_file", "patch", "search",
"read_file", "write_file", "patch", "search_files",
# Web tools
"web_search", "web_extract",
# Vision - analyze images sent by users