diff --git a/docs/static/schemas/config.json b/docs/static/schemas/config.json index c1b80c901..c1458bfc9 100644 --- a/docs/static/schemas/config.json +++ b/docs/static/schemas/config.json @@ -246,7 +246,7 @@ "region": { "title": "Region", "description": "The region where the model is hosted", - "anyOf":[ + "anyOf": [ { "enum": [ "us-east-1", @@ -258,7 +258,8 @@ "ap-southeast-1", "ap-northeast-1", "ap-south-1" - ] + ], + "type": "string" }, { "type": "string" @@ -1406,7 +1407,6 @@ "enum": [ "issue", "share", - "so", "cmd", "edit", "comment", @@ -1418,7 +1418,6 @@ "markdownEnumDescriptions": [ "Generate a link to a drafted GitHub issue", "Export the current chat session to markdown", - "Reference StackOverflow to answer the question", "Generate a terminal command and paste it into the terminal", "Edit the highlighted code with given instructions", "Add comments to the highlighted code", @@ -2202,24 +2201,7 @@ "region": { "title": "Region", "description": "The region where the model is hosted", - "anyOf":[ - { - "enum": [ - "us-east-1", - "us-east-2", - "us-west-1", - "us-west-2", - "eu-west-1", - "eu-central-1", - "ap-southeast-1", - "ap-northeast-1", - "ap-south-1" - ] - }, - { - "type": "string" - } - ] + "$ref": "#/definitions/ModelDescription/properties/region" }, "profile": { "title": "Profile", diff --git a/extensions/intellij/src/main/resources/config_schema.json b/extensions/intellij/src/main/resources/config_schema.json index 16321df00..c1458bfc9 100644 --- a/extensions/intellij/src/main/resources/config_schema.json +++ b/extensions/intellij/src/main/resources/config_schema.json @@ -246,7 +246,7 @@ "region": { "title": "Region", "description": "The region where the model is hosted", - "anyOf":[ + "anyOf": [ { "enum": [ "us-east-1", @@ -259,7 +259,7 @@ "ap-northeast-1", "ap-south-1" ], - "type" : "string" + "type": "string" }, { "type": "string" @@ -1407,7 +1407,6 @@ "enum": [ "issue", "share", - "so", "cmd", "edit", "comment", @@ -1419,7 +1418,6 @@ "markdownEnumDescriptions": [ "Generate a link to a drafted GitHub issue", "Export the current chat session to markdown", - "Reference StackOverflow to answer the question", "Generate a terminal command and paste it into the terminal", "Edit the highlighted code with given instructions", "Add comments to the highlighted code", diff --git a/extensions/vscode/config_schema.json b/extensions/vscode/config_schema.json index 16321df00..c1458bfc9 100644 --- a/extensions/vscode/config_schema.json +++ b/extensions/vscode/config_schema.json @@ -246,7 +246,7 @@ "region": { "title": "Region", "description": "The region where the model is hosted", - "anyOf":[ + "anyOf": [ { "enum": [ "us-east-1", @@ -259,7 +259,7 @@ "ap-northeast-1", "ap-south-1" ], - "type" : "string" + "type": "string" }, { "type": "string" @@ -1407,7 +1407,6 @@ "enum": [ "issue", "share", - "so", "cmd", "edit", "comment", @@ -1419,7 +1418,6 @@ "markdownEnumDescriptions": [ "Generate a link to a drafted GitHub issue", "Export the current chat session to markdown", - "Reference StackOverflow to answer the question", "Generate a terminal command and paste it into the terminal", "Edit the highlighted code with given instructions", "Add comments to the highlighted code", diff --git a/extensions/vscode/continue_rc_schema.json b/extensions/vscode/continue_rc_schema.json index 7dba9328e..7acf7d709 100644 --- a/extensions/vscode/continue_rc_schema.json +++ b/extensions/vscode/continue_rc_schema.json @@ -261,7 +261,8 @@ "ap-southeast-1", "ap-northeast-1", "ap-south-1" - ] + ], + "type": "string" }, { "type": "string" @@ -1560,7 +1561,6 @@ "enum": [ "issue", "share", - "so", "cmd", "edit", "comment", @@ -1572,7 +1572,6 @@ "markdownEnumDescriptions": [ "Generate a link to a drafted GitHub issue", "Export the current chat session to markdown", - "Reference StackOverflow to answer the question", "Generate a terminal command and paste it into the terminal", "Edit the highlighted code with given instructions", "Add comments to the highlighted code", @@ -2448,24 +2447,7 @@ "region": { "title": "Region", "description": "The region where the model is hosted", - "anyOf": [ - { - "enum": [ - "us-east-1", - "us-east-2", - "us-west-1", - "us-west-2", - "eu-west-1", - "eu-central-1", - "ap-southeast-1", - "ap-northeast-1", - "ap-south-1" - ] - }, - { - "type": "string" - } - ] + "$ref": "#/definitions/ModelDescription/properties/region" }, "profile": { "title": "Profile",