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: ${