From 377cdf571fbccf54f578fde3fd627a1e0e07d672 Mon Sep 17 00:00:00 2001 From: Jacob Kim Date: Mon, 18 Aug 2025 18:51:12 -0700 Subject: [PATCH] feat: use mercury-coder in favor of nextedit --- core/llm/autodetect.ts | 1 + core/llm/constants.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/core/llm/autodetect.ts b/core/llm/autodetect.ts index f167d02f9..3f9e62dfc 100644 --- a/core/llm/autodetect.ts +++ b/core/llm/autodetect.ts @@ -177,6 +177,7 @@ function isProviderHandlesTemplatingOrNoTemplateTypeRequired( // NOTE: When updating this list, // update core/nextEdit/templating/NextEditPromptEngine.ts as well. const MODEL_SUPPORTS_NEXT_EDIT: string[] = [ + NEXT_EDIT_MODELS.MERCURY_CODER, NEXT_EDIT_MODELS.MERCURY_CODER_NEXTEDIT, NEXT_EDIT_MODELS.INSTINCT, ]; diff --git a/core/llm/constants.ts b/core/llm/constants.ts index 704931af5..4364257ab 100644 --- a/core/llm/constants.ts +++ b/core/llm/constants.ts @@ -20,6 +20,7 @@ export enum LLMConfigurationStatuses { } export enum NEXT_EDIT_MODELS { + MERCURY_CODER = "mercury-coder", MERCURY_CODER_NEXTEDIT = "mercury-coder-nextedit", INSTINCT = "instinct", }