mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-20 08:47:44 +00:00
Don't enforce leading slash since that's not true on Windows (#3545)
This commit is contained in:
committed by
GitHub
parent
4dab31f1c8
commit
5c759d48c7
@@ -60,7 +60,6 @@ export class ReadFileTool extends BaseTool<ReadFileToolParams, ToolResult> {
|
||||
description:
|
||||
"The absolute path to the file to read (e.g., '/home/user/project/file.txt'). Relative paths are not supported. You must provide an absolute path.",
|
||||
type: Type.STRING,
|
||||
pattern: '^/',
|
||||
},
|
||||
offset: {
|
||||
description:
|
||||
|
||||
Reference in New Issue
Block a user