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