internal/llm/tools/grep.go 🔗
@@ -211,7 +211,7 @@ func searchWithRipgrep(pattern, path, include string) ([]grepMatch, error) {
}
// Use -n to show line numbers and include the matched line
- args := []string{"-n", pattern}
+ args := []string{"-H", "-n", pattern}
if include != "" {
args = append(args, "--glob", include)
}