diff options
Diffstat (limited to 'packages/server/src/tools/grep.ts')
| -rw-r--r-- | packages/server/src/tools/grep.ts | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/packages/server/src/tools/grep.ts b/packages/server/src/tools/grep.ts index 1873a794..e3253ecf 100644 --- a/packages/server/src/tools/grep.ts +++ b/packages/server/src/tools/grep.ts @@ -54,13 +54,11 @@ interface GrepMatch { export class GrepTool extends BaseTool<GrepToolParams, ToolResult> { static readonly Name = 'search_file_content'; // Keep static name - private rootDirectory: string; - /** * Creates a new instance of the GrepLogic * @param rootDirectory Root directory to ground this tool in. All operations will be restricted to this directory. */ - constructor(rootDirectory: string) { + constructor(private rootDirectory: string) { super( GrepTool.Name, 'SearchText', |
