mirror of
https://github.com/pacnpal/Roo-Code.git
synced 2025-12-20 12:21:13 -05:00
Use predicted length as input for detecting omissions
This commit is contained in:
@@ -62,9 +62,11 @@ Usage:
|
||||
Description: Request to write full content to a file at the specified path. If the file exists, it will be overwritten with the provided content. If the file doesn't exist, it will be created. This tool will automatically create any directories needed to write the file.
|
||||
Parameters:
|
||||
- path: (required) The path of the file to write to (relative to the current working directory ${cwd.toPosix()})
|
||||
- line_count: (required) The number of lines in the content. This is used to determine if the user needs to provide more content to complete the file.
|
||||
- content: (required) The content to write to the file. ALWAYS provide the COMPLETE intended content of the file, without any truncation or omissions. You MUST include ALL parts of the file, even if they haven't been modified. Do NOT include the line numbers in the content though, just the actual content of the file.
|
||||
Usage:
|
||||
<write_to_file>
|
||||
<line_count>total number of lines in the content, including empty lines</line_count>
|
||||
<path>File path here</path>
|
||||
<content>
|
||||
Your file content here
|
||||
@@ -207,6 +209,7 @@ Your final result description here
|
||||
## Example 2: Requesting to write to a file
|
||||
|
||||
<write_to_file>
|
||||
<line_count>14</line_count>
|
||||
<path>frontend-config.json</path>
|
||||
<content>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user