Update util.ts

This commit is contained in:
Patrick Erichsen 2025-01-10 09:23:52 -08:00 • committed by GitHub
parent f4514ca04c
commit 4fb9021e4c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -109,7 +109,7 @@ export function getModelByRole<T extends keyof ModelRoles>(
* See here for details: https://github.com/continuedev/continue/issues/940
*/
export function isSupportedLanceDbCpuTarget(ide: IDE) {
const CPU_FEATURES_TO_CHECK = ["avx", "fma"] as const;
const CPU_FEATURES_TO_CHECK = ["avx2", "fma"] as const;
const globalContext = new GlobalContext();
const globalContextVal = globalContext.get("isSupportedLanceDbCpuTarget");