From 013694832f4c5a7819bfd9a801346e4c3fb22e77 Mon Sep 17 00:00:00 2001 From: Kujtim Hoxha Date: Mon, 14 Apr 2025 15:48:01 +0200 Subject: fix diff --- internal/llm/tools/edit.go | 3 --- internal/llm/tools/write.go | 1 - 2 files changed, 4 deletions(-) (limited to 'internal/llm/tools') 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{ -- cgit v1.2.3