update grep search tool description

This commit is contained in:
Dallin Romney 2025-06-19 18:02:14 -07:00
parent 4705ab6dae
commit 26c50d0f9e
2 changed files with 2 additions and 2 deletions

View file

@ -12,7 +12,8 @@ export const grepSearchTool: Tool = {
group: BUILT_IN_GROUP_NAME,
function: {
name: BuiltInToolNames.GrepSearch,
description: "Perform a search over the repository using ripgrep.",
description:
"Perform a search over the repository using ripgrep. Output may be truncated, so use targeted queries",
parameters: {
type: "object",
required: ["query"],

View file

@ -14,7 +14,6 @@ export const grepSearchImpl: ToolImpl = async (args, extras) => {
results,
DEFAULT_GREP_SEARCH_CHAR_LIMIT,
);
console.log(results);
const truncationReasons: string[] = [];
if (numResults === DEFAULT_GREP_SEARCH_RESULTS_LIMIT) {
truncationReasons.push(