From 271dbce25f0283835c465091cbd520016fa879a6 Mon Sep 17 00:00:00 2001 From: Nate Sesti Date: Thu, 28 Dec 2023 22:19:05 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A5=20remove=20modelRoles=20from=20con?= =?UTF-8?q?fig=20schema?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/config/default.ts | 4 ---- core/config/types.ts | 1 - core/index.d.ts | 1 - extensions/vscode/config_schema.json | 15 --------------- 4 files changed, 21 deletions(-) diff --git a/core/config/default.ts b/core/config/default.ts index 9b32bd474..ad23477c6 100644 --- a/core/config/default.ts +++ b/core/config/default.ts @@ -13,10 +13,6 @@ const defaultConfig: SerializedContinueConfig = { model: "gpt-3.5-turbo", }, ], - modelRoles: { - default: "GPT-4", - summarize: "GPT-3.5-Turbo", - }, slashCommands: [ { name: "edit", diff --git a/core/config/types.ts b/core/config/types.ts index 1b4bff556..5256b7e97 100644 --- a/core/config/types.ts +++ b/core/config/types.ts @@ -441,7 +441,6 @@ declare global { disallowedSteps?: string[]; allowAnonymousTelemetry?: boolean; models: ModelDescription[]; - modelRoles: ModelRoles; systemMessage?: string; completionOptions?: BaseCompletionOptions; slashCommands?: SlashCommandDescription[]; diff --git a/core/index.d.ts b/core/index.d.ts index 9aca642c1..9368f4823 100644 --- a/core/index.d.ts +++ b/core/index.d.ts @@ -442,7 +442,6 @@ export interface SerializedContinueConfig { disallowedSteps?: string[]; allowAnonymousTelemetry?: boolean; models: ModelDescription[]; - modelRoles: ModelRoles; systemMessage?: string; completionOptions?: BaseCompletionOptions; slashCommands?: SlashCommandDescription[]; diff --git a/extensions/vscode/config_schema.json b/extensions/vscode/config_schema.json index cad4101de..19134f885 100644 --- a/extensions/vscode/config_schema.json +++ b/extensions/vscode/config_schema.json @@ -844,21 +844,6 @@ "$ref": "#/definitions/ModelDescription" } }, - "modelRoles": { - "title": "Model Roles", - "description": "Roles for models. Each entry should be the title of a model in the models array.", - "default": { - "default": "GPT-4 (trial)", - "chat": null, - "edit": null, - "summarize": null - }, - "allOf": [ - { - "$ref": "#/definitions/ModelRoles" - } - ] - }, "systemMessage": { "title": "System Message", "description": "A system message that will always be followed by the LLM",