diff --git a/internal/llm/prompt/coder.go b/internal/llm/prompt/coder.go
index 57ed088b22de03fe875ad0822f159b35eb36a834..12ea587de9d61d8475c0913ebf1513450aef07b0 100644
--- a/internal/llm/prompt/coder.go
+++ b/internal/llm/prompt/coder.go
@@ -11,7 +11,6 @@ import (
"github.com/charmbracelet/catwalk/pkg/catwalk"
"github.com/charmbracelet/crush/internal/config"
- "github.com/charmbracelet/crush/internal/llm/tools"
)
func CoderPrompt(p string, contextFiles ...string) string {
@@ -53,7 +52,6 @@ func getEnvironmentInfo() string {
isGit := isGitRepo(cwd)
platform := runtime.GOOS
date := time.Now().Format("1/2/2006")
- output, _, _ := tools.ListDirectoryTree(cwd, tools.LSParams{})
return fmt.Sprintf(`Here is useful information about the environment you are running in:
Working directory: %s
@@ -61,10 +59,7 @@ Is directory a git repo: %s
Platform: %s
Today's date: %s
-
-%s
-
- `, cwd, boolToYesNo(isGit), platform, date, output)
+ `, cwd, boolToYesNo(isGit), platform, date)
}
func isGitRepo(dir string) bool {