From c9ee5dcc93dff252ac174bf79032f0083fe28795 Mon Sep 17 00:00:00 2001 From: Patrick Erichsen Date: Fri, 7 Feb 2025 12:49:04 -0800 Subject: [PATCH] docs: update info on disabled indexing for linux-x64 --- core/config/util.ts | 6 ++++-- docs/docs/troubleshooting.md | 8 ++++++++ 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/core/config/util.ts b/core/config/util.ts index fec026c09..3fc1ab465 100644 --- a/core/config/util.ts +++ b/core/config/util.ts @@ -160,11 +160,13 @@ export function isSupportedLanceDbCpuTargetForLinux(ide?: IDE) { async function showUnsupportedCpuToast(ide: IDE) { const shouldOpenLink = await ide.showToast( "warning", - "Codebase indexing is disabled due to CPU incompatibility", + "Codebase indexing disabled - Your Linux system lacks required CPU features (AVX2, FMA)", "Learn more", ); if (shouldOpenLink) { - void ide.openUrl("https://github.com/continuedev/continue/pull/3551"); + void ide.openUrl( + "https://docs.continue.dev/troubleshooting#i-received-a-codebase-indexing-disabled---your-linux-system-lacks-required-cpu-features-avx2-fma-notification", + ); } } diff --git a/docs/docs/troubleshooting.md b/docs/docs/troubleshooting.md index 52dc785b2..6a345b7dd 100644 --- a/docs/docs/troubleshooting.md +++ b/docs/docs/troubleshooting.md @@ -134,6 +134,14 @@ This can be accomplished using the following command: `Continue: Rebuild codebas This can be fixed by selecting `Actions > Choose Boot runtime for the IDE` then selecting the latest version, and then restarting Android Studio. [See this thread](https://github.com/continuedev/continue/issues/596#issuecomment-1789327178) for details. +### I received a "Codebase indexing disabled - Your Linux system lacks required CPU features (AVX2, FMA)" notification + +We use LanceDB as our vector database for codebase search features. On x64 Linux systems, LanceDB requires specific CPU features (FMA and AVX2) which may not be available on older processors. + +Most Continue features will work normally, including autocomplete and chat. However, commands that rely on codebase indexing, such as `@codebase`, `@files`, and `@folder`, will be disabled. + +For more details about this requirement, see the [LanceDB issue #2195](https://github.com/lancedb/lance/issues/2195). + ## Still having trouble? You can also join our Discord community [here](https://discord.gg/vapESyrFmJ) for additional support and discussions. Alternatively, you can create a GitHub issue [here](https://github.com/continuedev/continue/issues/new?assignees=&labels=bug&projects=&template=bug-report-%F0%9F%90%9B.md&title=), providing details of your problem, and we'll be able to help you out more quickly.