Revert search max size.

This commit is contained in:
Christian Gunderman
2026-02-05 12:57:57 -08:00
parent b785bd4da0
commit 66fe872982
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -3,5 +3,5 @@
* Copyright 2026 Google LLC * Copyright 2026 Google LLC
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*/ */
export const DEFAULT_TOTAL_MAX_MATCHES = 2000; export const DEFAULT_TOTAL_MAX_MATCHES = 100;
export const DEFAULT_SEARCH_TIMEOUT_MS = 30000; export const DEFAULT_SEARCH_TIMEOUT_MS = 30000;
+1 -1
View File
@@ -513,7 +513,7 @@ export class RipGrepTool extends BaseDeclarativeTool<
super( super(
RipGrepTool.Name, RipGrepTool.Name,
'SearchText', 'SearchText',
'Searches for a regular expression pattern within file contents. Utilize parameters like max_matches_per_file to avoid one file providing excessive results.', 'Searches for a regular expression pattern within file contents. Utilize parameters like max_matches_per_file to avoid one file providing excessive results. Defaults to 100 matches.',
Kind.Search, Kind.Search,
{ {
properties: { properties: {