Patch 1: Make maxFilesToRead configurable via AGENT_MAX_FILES_TO_READ env var
Default increased from 3/5 to 30 for legal case folders with many files. Configure via AGENT_MAX_FILES_TO_READ in .env to override.
This commit is contained in:
parent
9e5c790eff
commit
a4d14e12b8
@ -42,7 +42,7 @@ module.exports.FilesystemSearchFiles = {
|
||||
mode: "content",
|
||||
filePattern: "*.js",
|
||||
includeFileContents: true,
|
||||
maxFilesToRead: 3,
|
||||
maxFilesToRead: Number(process.env.AGENT_MAX_FILES_TO_READ) || 30,
|
||||
}),
|
||||
},
|
||||
{
|
||||
@ -119,7 +119,7 @@ module.exports.FilesystemSearchFiles = {
|
||||
caseSensitive = true,
|
||||
maxResults = 100,
|
||||
includeFileContents = false,
|
||||
maxFilesToRead = 5,
|
||||
maxFilesToRead = Number(process.env.AGENT_MAX_FILES_TO_READ) || 30,
|
||||
}) {
|
||||
try {
|
||||
this.super.handlerProps.log(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user