fix diff
This commit is contained in:
parent
0130bde1ed
commit
013694832f
5 changed files with 155 additions and 288 deletions
|
|
@ -186,7 +186,6 @@ func (e *editTool) createNewFile(ctx context.Context, filePath, content string)
|
|||
"",
|
||||
content,
|
||||
filePath,
|
||||
filePath,
|
||||
)
|
||||
p := e.permissions.Request(
|
||||
permission.CreatePermissionRequest{
|
||||
|
|
@ -277,7 +276,6 @@ func (e *editTool) deleteContent(ctx context.Context, filePath, oldString string
|
|||
oldContent,
|
||||
newContent,
|
||||
filePath,
|
||||
filePath,
|
||||
)
|
||||
|
||||
p := e.permissions.Request(
|
||||
|
|
@ -367,7 +365,6 @@ func (e *editTool) replaceContent(ctx context.Context, filePath, oldString, newS
|
|||
oldContent,
|
||||
newContent,
|
||||
filePath,
|
||||
filePath,
|
||||
)
|
||||
p := e.permissions.Request(
|
||||
permission.CreatePermissionRequest{
|
||||
|
|
|
|||
|
|
@ -154,7 +154,6 @@ func (w *writeTool) Run(ctx context.Context, call ToolCall) (ToolResponse, error
|
|||
oldContent,
|
||||
params.Content,
|
||||
filePath,
|
||||
filePath,
|
||||
)
|
||||
p := w.permissions.Request(
|
||||
permission.CreatePermissionRequest{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue