diff --git a/core/tools/definitions/grepSearch.ts b/core/tools/definitions/grepSearch.ts index ca8a73a30..60a4e2710 100644 --- a/core/tools/definitions/grepSearch.ts +++ b/core/tools/definitions/grepSearch.ts @@ -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"], diff --git a/core/tools/implementations/grepSearch.ts b/core/tools/implementations/grepSearch.ts index 8481a89c8..149b68a75 100644 --- a/core/tools/implementations/grepSearch.ts +++ b/core/tools/implementations/grepSearch.ts @@ -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(