From c3365415d1e5325fb071225decf7343db0afa816 Mon Sep 17 00:00:00 2001 From: Continue Agent Date: Wed, 13 Aug 2025 22:27:57 +0000 Subject: [PATCH] Fix ripgrep error message to avoid confusing installation instructions - Remove suggestion to install homebrew which was confusing for users - Simplify error message to just state 'ripgrep is not installed' - Addresses CON-3354: confusing error message when ripgrep not installed --- src/tools/searchCode.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/searchCode.ts b/src/tools/searchCode.ts index cf5b5a4a7..3eefe6434 100644 --- a/src/tools/searchCode.ts +++ b/src/tools/searchCode.ts @@ -99,7 +99,7 @@ export const searchCodeTool: Tool = { } if (error instanceof Error) { if (error.message.includes("command not found")) { - return `Error: ripgrep is not installed. Inform the user and run /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" to install it`; + return `Error: ripgrep is not installed.`; } } return `Error executing ripgrep: ${