diff --git a/core/config/load.ts b/core/config/load.ts index a697a5b02..f138f9622 100644 --- a/core/config/load.ts +++ b/core/config/load.ts @@ -41,7 +41,6 @@ import { getConfigJsonPathForRemote, getConfigTsPath, getContinueDotEnv, - migrate, } from "../util/paths"; import { defaultContextProvidersJetBrains, @@ -97,34 +96,6 @@ function loadSerializedConfig( config.allowAnonymousTelemetry = true; } - migrate("codeContextProvider", () => { - if (!config.contextProviders?.filter((cp) => cp.name === "code")?.length) { - config.contextProviders = [ - ...(config.contextProviders || []), - { - name: "code", - params: {}, - }, - ]; - } - - fs.writeFileSync(configPath, JSON.stringify(config, undefined, 2), "utf8"); - }); - - migrate("docsContextProvider1", () => { - if (!config.contextProviders?.filter((cp) => cp.name === "docs")?.length) { - config.contextProviders = [ - ...(config.contextProviders || []), - { - name: "docs", - params: {}, - }, - ]; - } - - fs.writeFileSync(configPath, JSON.stringify(config, undefined, 2), "utf8"); - }); - if (remoteConfigServerUrl) { try { const remoteConfigJson = resolveSerializedConfig(