🔥 remove modelRoles from config schema

This commit is contained in:
Nate Sesti 2023-12-28 22:19:05 -05:00
parent 5c55e655ee
commit 271dbce25f
4 changed files with 0 additions and 21 deletions

View file

@ -13,10 +13,6 @@ const defaultConfig: SerializedContinueConfig = {
model: "gpt-3.5-turbo",
},
],
modelRoles: {
default: "GPT-4",
summarize: "GPT-3.5-Turbo",
},
slashCommands: [
{
name: "edit",

View file

@ -441,7 +441,6 @@ declare global {
disallowedSteps?: string[];
allowAnonymousTelemetry?: boolean;
models: ModelDescription[];
modelRoles: ModelRoles;
systemMessage?: string;
completionOptions?: BaseCompletionOptions;
slashCommands?: SlashCommandDescription[];

1
core/index.d.ts vendored
View file

@ -442,7 +442,6 @@ export interface SerializedContinueConfig {
disallowedSteps?: string[];
allowAnonymousTelemetry?: boolean;
models: ModelDescription[];
modelRoles: ModelRoles;
systemMessage?: string;
completionOptions?: BaseCompletionOptions;
slashCommands?: SlashCommandDescription[];

View file

@ -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",