refactor: Optimize tool guidelines and disable tools by default

This commit is contained in:
Petr Mironychev
2025-10-26 21:04:37 +01:00
parent 6cb0b14b18
commit dfd9979450
7 changed files with 43 additions and 87 deletions

View File

@ -51,10 +51,9 @@ QString SearchInProjectTool::stringName() const
QString SearchInProjectTool::description() const
{
return "Search for text or patterns across all project files. "
return "Search for text or regex patterns across project files. "
"Returns matching lines with file paths, line numbers, and context. "
"Supports plain text, regex, case-sensitive/insensitive search, whole word matching, "
"and file pattern filtering.";
"Supports case-sensitive/insensitive, whole word matching, and file pattern filtering (*.cpp, *.h).";
}
QJsonObject SearchInProjectTool::getDefinition(LLMCore::ToolSchemaFormat format) const