update grep search tool description
This commit is contained in:
parent
4705ab6dae
commit
26c50d0f9e
2 changed files with 2 additions and 2 deletions
|
|
@ -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"],
|
||||
|
|
|
|||
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue