mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-21 01:07:46 +00:00
Remove unnecessary FileErrorType. (#6697)
This commit is contained in:
committed by
GitHub
parent
6eb6560d42
commit
0193ce77dd
@@ -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;
|
||||
}
|
||||
| {
|
||||
|
||||
Reference in New Issue
Block a user