You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/core/prompts/tools/read-file.ts
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ Description: Request to read the contents of ${isMultipleReadsEnabled ? "one or
9
9
10
10
${isMultipleReadsEnabled ? `**IMPORTANT: You can read a maximum of ${maxConcurrentReads} files in a single request.** If you need to read more files, use multiple sequential read_file requests.` : "**IMPORTANT: Multiple file reads are currently disabled. You can only read one file at a time.**"}
11
11
12
-
${args.partialReadsEnabled ? `By specifying line_range xml tag parameter, you can efficiently read specific portions of large files without loading the entire file into memory.` : ""}
12
+
${args.partialReadsEnabled ? `By specifying line ranges, you can efficiently read specific portions of large files without loading the entire file into memory.` : ""}
13
13
Parameters:
14
14
- args: Contains one or more file elements, where each file contains:
15
15
- path: (required) File path (relative to workspace directory ${args.cwd})
@@ -27,7 +27,7 @@ Usage:
27
27
28
28
Examples:
29
29
30
-
1. Reading a single file${args.partialReadsEnabled ? " with one line range" : ""}:
30
+
1. Reading a single file:
31
31
<read_file>
32
32
<args>
33
33
<file>
@@ -37,7 +37,7 @@ Examples:
37
37
</args>
38
38
</read_file>
39
39
40
-
${isMultipleReadsEnabled ? `2. Reading multiple files${args.partialReadsEnabled ? " with different line ranges" : ""} (within the ${maxConcurrentReads}-file limit):` : ""}${
0 commit comments