Don't enforce leading slash since that's not true on Windows (#3545)

This commit is contained in:
Tommaso Sciortino
2025-07-08 09:30:49 -07:00
committed by GitHub
parent 4dab31f1c8
commit 5c759d48c7
2 changed files with 3 additions and 4 deletions

View File

@@ -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: