diff options
Diffstat (limited to 'internal/llm')
| -rw-r--r-- | internal/llm/tools/edit.go | 3 | ||||
| -rw-r--r-- | internal/llm/tools/write.go | 1 |
2 files changed, 0 insertions, 4 deletions
diff --git a/internal/llm/tools/edit.go b/internal/llm/tools/edit.go index 1305879b9..08d6d446c 100644 --- a/internal/llm/tools/edit.go +++ b/internal/llm/tools/edit.go @@ -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{ diff --git a/internal/llm/tools/write.go b/internal/llm/tools/write.go index ef2ca01f4..889561d2a 100644 --- a/internal/llm/tools/write.go +++ b/internal/llm/tools/write.go @@ -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{ |
