From fcf12712ffc1be7e7eb5f43cb5288fc765600469 Mon Sep 17 00:00:00 2001 From: Julien GODFROY <79590825+jugodfroy@users.noreply.github.com> Date: Tue, 6 Aug 2024 01:42:10 +0200 Subject: [PATCH] Fix codestral name warning (#1914) * Huge fix on Codestral familly model name to avoid warning. Huge fix on Codestral familly model name to avoid warning. * Update completionProvider.ts typo --- core/autocomplete/completionProvider.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/autocomplete/completionProvider.ts b/core/autocomplete/completionProvider.ts index 912d6cc1d..49a66ba60 100644 --- a/core/autocomplete/completionProvider.ts +++ b/core/autocomplete/completionProvider.ts @@ -459,7 +459,7 @@ export class CompletionProvider { !shownGptClaudeWarning && nonAutocompleteModels.some((model) => llm.model.includes(model)) && !llm.model.includes("deepseek") && - !llm.model.includes("codestral") + !llm.model.includes("Codestral") ) { shownGptClaudeWarning = true; throw new Error(