Remove unnecessary FileErrorType. (#6697)

This commit is contained in:
Tommaso Sciortino
2025-08-20 16:13:29 -07:00
committed by GitHub
parent 6eb6560d42
commit 0193ce77dd
4 changed files with 23 additions and 62 deletions

View File

@@ -219,7 +219,7 @@ describe('ReadFileTool', () => {
returnDisplay: 'Path is a directory.',
error: {
message: `Path is a directory, not a file: ${dirPath}`,
type: ToolErrorType.INVALID_TOOL_PARAMS,
type: ToolErrorType.TARGET_IS_DIRECTORY,
},
});
});