summaryrefslogtreecommitdiff
path: root/schema/json/Models.json
diff options
context:
space:
mode:
authorNate Sesti <33237525+sestinj@users.noreply.github.com>2023-08-22 13:12:58 -0700
committerGitHub <noreply@github.com>2023-08-22 13:12:58 -0700
commit5eec484dc79bb56dabf9a56af0dbe6bc95227d39 (patch)
tree07edc01475cfe0ba69372f537d36aa3294680b7d /schema/json/Models.json
parentb6435e1e479edb1e4f049098dc8522e944317f2a (diff)
downloadsncontinue-5eec484dc79bb56dabf9a56af0dbe6bc95227d39.tar.gz
sncontinue-5eec484dc79bb56dabf9a56af0dbe6bc95227d39.tar.bz2
sncontinue-5eec484dc79bb56dabf9a56af0dbe6bc95227d39.zip
Config UI (#399)
* feat: :sparkles: UI for config! * feat: :sparkles: (latent) edit models in settings
Diffstat (limited to 'schema/json/Models.json')
-rw-r--r--schema/json/Models.json66
1 files changed, 66 insertions, 0 deletions
diff --git a/schema/json/Models.json b/schema/json/Models.json
new file mode 100644
index 00000000..0b3b9c21
--- /dev/null
+++ b/schema/json/Models.json
@@ -0,0 +1,66 @@
+{
+ "title": "Models",
+ "$ref": "#/definitions/src__continuedev__core__models__Models",
+ "definitions": {
+ "LLM": {
+ "title": "LLM",
+ "type": "object",
+ "properties": {
+ "requires_api_key": {
+ "title": "Requires Api Key",
+ "type": "string"
+ },
+ "requires_unique_id": {
+ "title": "Requires Unique Id",
+ "default": false,
+ "type": "boolean"
+ },
+ "requires_write_log": {
+ "title": "Requires Write Log",
+ "default": false,
+ "type": "boolean"
+ },
+ "system_message": {
+ "title": "System Message",
+ "type": "string"
+ }
+ }
+ },
+ "ContinueSDK": {
+ "title": "ContinueSDK",
+ "type": "object",
+ "properties": {}
+ },
+ "src__continuedev__core__models__Models": {
+ "title": "Models",
+ "description": "Main class that holds the current model configuration",
+ "type": "object",
+ "properties": {
+ "default": {
+ "$ref": "#/definitions/LLM"
+ },
+ "small": {
+ "$ref": "#/definitions/LLM"
+ },
+ "medium": {
+ "$ref": "#/definitions/LLM"
+ },
+ "large": {
+ "$ref": "#/definitions/LLM"
+ },
+ "edit": {
+ "$ref": "#/definitions/LLM"
+ },
+ "chat": {
+ "$ref": "#/definitions/LLM"
+ },
+ "sdk": {
+ "$ref": "#/definitions/ContinueSDK"
+ }
+ },
+ "required": [
+ "default"
+ ]
+ }
+ }
+} \ No newline at end of file