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:
@@ -30,6 +30,7 @@ export const toolParamNames = [
|
||||
"command",
|
||||
"path",
|
||||
"content",
|
||||
"line_count",
|
||||
"regex",
|
||||
"file_pattern",
|
||||
"recursive",
|
||||
@@ -71,7 +72,7 @@ export interface ReadFileToolUse extends ToolUse {
|
||||
|
||||
export interface WriteToFileToolUse extends ToolUse {
|
||||
name: "write_to_file"
|
||||
params: Partial<Pick<Record<ToolParamName, string>, "path" | "content">>
|
||||
params: Partial<Pick<Record<ToolParamName, string>, "path" | "content" | "line_count">>
|
||||
}
|
||||
|
||||
export interface SearchFilesToolUse extends ToolUse {
|
||||
|
||||
Reference in New Issue
Block a user