diff options
author | Nate Sesti <sestinj@gmail.com> | 2023-06-26 17:41:12 -0700 |
---|---|---|
committer | Nate Sesti <sestinj@gmail.com> | 2023-06-26 17:41:12 -0700 |
commit | ce846df27aa9646d79da4160c833031766d2c13b (patch) | |
tree | 5993b2d211fcaa0a14bd742249d66d5ae52c5a85 /schema | |
parent | f4beca92731a81c32aec9c692ec32b78024f5974 (diff) | |
download | sncontinue-ce846df27aa9646d79da4160c833031766d2c13b.tar.gz sncontinue-ce846df27aa9646d79da4160c833031766d2c13b.tar.bz2 sncontinue-ce846df27aa9646d79da4160c833031766d2c13b.zip |
syntax highlighting lang auto detection
Diffstat (limited to 'schema')
-rw-r--r-- | schema/json/History.json | 80 | ||||
-rw-r--r-- | schema/json/HistoryNode.json | 80 |
2 files changed, 160 insertions, 0 deletions
diff --git a/schema/json/History.json b/schema/json/History.json index 14b82d6d..ee797412 100644 --- a/schema/json/History.json +++ b/schema/json/History.json @@ -2,6 +2,59 @@ "title": "History", "$ref": "#/definitions/src__continuedev__core__main__History", "definitions": { + "FunctionCall": { + "title": "FunctionCall", + "type": "object", + "properties": { + "name": { + "title": "Name", + "type": "string" + }, + "arguments": { + "title": "Arguments", + "type": "string" + } + }, + "required": [ + "name", + "arguments" + ] + }, + "ChatMessage": { + "title": "ChatMessage", + "type": "object", + "properties": { + "role": { + "title": "Role", + "enum": [ + "assistant", + "user", + "system", + "function" + ], + "type": "string" + }, + "content": { + "title": "Content", + "type": "string" + }, + "name": { + "title": "Name", + "type": "string" + }, + "summary": { + "title": "Summary", + "type": "string" + }, + "function_call": { + "$ref": "#/definitions/FunctionCall" + } + }, + "required": [ + "role", + "summary" + ] + }, "Step": { "title": "Step", "type": "object", @@ -15,9 +68,26 @@ "default": false, "type": "boolean" }, + "description": { + "title": "Description", + "type": "string" + }, "system_message": { "title": "System Message", "type": "string" + }, + "chat_context": { + "title": "Chat Context", + "default": [], + "type": "array", + "items": { + "$ref": "#/definitions/ChatMessage" + } + }, + "manage_own_chat_context": { + "title": "Manage Own Chat Context", + "default": false, + "type": "boolean" } } }, @@ -40,6 +110,16 @@ "depth": { "title": "Depth", "type": "integer" + }, + "deleted": { + "title": "Deleted", + "default": false, + "type": "boolean" + }, + "active": { + "title": "Active", + "default": true, + "type": "boolean" } }, "required": [ diff --git a/schema/json/HistoryNode.json b/schema/json/HistoryNode.json index 87a8729f..d0e12ac5 100644 --- a/schema/json/HistoryNode.json +++ b/schema/json/HistoryNode.json @@ -2,6 +2,59 @@ "title": "HistoryNode", "$ref": "#/definitions/src__continuedev__core__main__HistoryNode", "definitions": { + "FunctionCall": { + "title": "FunctionCall", + "type": "object", + "properties": { + "name": { + "title": "Name", + "type": "string" + }, + "arguments": { + "title": "Arguments", + "type": "string" + } + }, + "required": [ + "name", + "arguments" + ] + }, + "ChatMessage": { + "title": "ChatMessage", + "type": "object", + "properties": { + "role": { + "title": "Role", + "enum": [ + "assistant", + "user", + "system", + "function" + ], + "type": "string" + }, + "content": { + "title": "Content", + "type": "string" + }, + "name": { + "title": "Name", + "type": "string" + }, + "summary": { + "title": "Summary", + "type": "string" + }, + "function_call": { + "$ref": "#/definitions/FunctionCall" + } + }, + "required": [ + "role", + "summary" + ] + }, "Step": { "title": "Step", "type": "object", @@ -15,9 +68,26 @@ "default": false, "type": "boolean" }, + "description": { + "title": "Description", + "type": "string" + }, "system_message": { "title": "System Message", "type": "string" + }, + "chat_context": { + "title": "Chat Context", + "default": [], + "type": "array", + "items": { + "$ref": "#/definitions/ChatMessage" + } + }, + "manage_own_chat_context": { + "title": "Manage Own Chat Context", + "default": false, + "type": "boolean" } } }, @@ -40,6 +110,16 @@ "depth": { "title": "Depth", "type": "integer" + }, + "deleted": { + "title": "Deleted", + "default": false, + "type": "boolean" + }, + "active": { + "title": "Active", + "default": true, + "type": "boolean" } }, "required": [ |