mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-07 08:26:51 +00:00
update with comment in pr
This commit is contained in:
parent
0fa6fd4ddb
commit
179ea7904b
3 changed files with 2 additions and 4 deletions
|
|
@ -6,7 +6,7 @@ Description: Inserts code blocks at specific line positions in a file. This is t
|
|||
Parameters:
|
||||
- path: (required) The path of the file to insert code into (relative to the current working directory ${args.cwd.toPosix()})
|
||||
- operations: (required) A JSON array of insertion operations. Each operation is an object with:
|
||||
* start_line: (required) The line number where the code block should be inserted
|
||||
* start_line: (required) The line number where the code block should be inserted. The content currently at that line will end up below the inserted code block.
|
||||
* content: (required) The code block to insert at the specified position
|
||||
Usage:
|
||||
<insert_code_block>
|
||||
|
|
|
|||
|
|
@ -205,7 +205,7 @@ export function isToolAllowedForMode(
|
|||
const filePath = toolParams?.path
|
||||
if (
|
||||
filePath &&
|
||||
(toolParams.diff || toolParams.content) &&
|
||||
(toolParams.diff || toolParams.content || toolParams.operations) &&
|
||||
!doesFileMatchRegex(filePath, options.fileRegex)
|
||||
) {
|
||||
throw new FileRestrictionError(mode.name, options.fileRegex, options.description, filePath)
|
||||
|
|
|
|||
|
|
@ -97,8 +97,6 @@ const SettingsView = ({ onDone }: SettingsViewProps) => {
|
|||
apiConfiguration,
|
||||
})
|
||||
|
||||
console.log("Experiments", experiments)
|
||||
|
||||
vscode.postMessage({
|
||||
type: "updateExperimental",
|
||||
values: experiments,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue