From f862101a6dc537185ea7c04721929b2b3abb3549 Mon Sep 17 00:00:00 2001 From: Dallin Romney Date: Wed, 23 Oct 2024 22:39:56 -0700 Subject: [PATCH] cleanup --- core/autocomplete/completionProvider.ts | 1 - core/config/validation.ts | 6 ------ 2 files changed, 7 deletions(-) diff --git a/core/autocomplete/completionProvider.ts b/core/autocomplete/completionProvider.ts index 16edad6c2..2f1c549ce 100644 --- a/core/autocomplete/completionProvider.ts +++ b/core/autocomplete/completionProvider.ts @@ -9,7 +9,6 @@ import { streamLines } from "../diff/util.js"; import { IDE, ILLM, - ModelDescription, ModelProvider, Position, Range, diff --git a/core/config/validation.ts b/core/config/validation.ts index 9aee50b4c..5a5f44eaf 100644 --- a/core/config/validation.ts +++ b/core/config/validation.ts @@ -34,12 +34,6 @@ export function validateConfig(config: SerializedContinueConfig) { message: `Model at index ${index} has an invalid 'provider'.`, }); } - if (typeof model.provider !== "string") { - errors.push({ - fatal: true, - message: `Model at index ${index} has an invalid 'provider'.`, - }); - } }); }