summaryrefslogtreecommitdiff
path: root/packages/core/src/tools/read-many-files.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/core/src/tools/read-many-files.ts')
-rw-r--r--packages/core/src/tools/read-many-files.ts5
1 files changed, 2 insertions, 3 deletions
diff --git a/packages/core/src/tools/read-many-files.ts b/packages/core/src/tools/read-many-files.ts
index 52529ce9..b3568cad 100644
--- a/packages/core/src/tools/read-many-files.ts
+++ b/packages/core/src/tools/read-many-files.ts
@@ -21,6 +21,7 @@ import {
processSingleFileContent,
DEFAULT_ENCODING,
getSpecificMimeType,
+ ProcessedFileReadResult,
} from '../utils/fileUtils.js';
import { PartListUnion } from '@google/genai';
import { Config, DEFAULT_FILE_FILTERING_OPTIONS } from '../config/config.js';
@@ -84,9 +85,7 @@ type FileProcessingResult =
success: true;
filePath: string;
relativePathForDisplay: string;
- fileReadResult: NonNullable<
- Awaited<ReturnType<typeof processSingleFileContent>>
- >;
+ fileReadResult: ProcessedFileReadResult;
reason?: undefined;
}
| {