summaryrefslogtreecommitdiff
path: root/schema/json/History.json
diff options
context:
space:
mode:
authorNate Sesti <sestinj@gmail.com>2023-06-27 11:17:26 -0700
committerNate Sesti <sestinj@gmail.com>2023-06-27 11:17:26 -0700
commit57d49955973c94da59b83075a212be4cad7078eb (patch)
treee95b0ead1d565f38242af57399d20ba5ed56e905 /schema/json/History.json
parentd45ce41f6476a96cd0e4d375f7cd00393865d9cf (diff)
parentd2842f655c4d02952d8cf58ec3a2c927704cabae (diff)
downloadsncontinue-57d49955973c94da59b83075a212be4cad7078eb.tar.gz
sncontinue-57d49955973c94da59b83075a212be4cad7078eb.tar.bz2
sncontinue-57d49955973c94da59b83075a212be4cad7078eb.zip
Merge branch 'main' into newer-simpler-stream-algo
Diffstat (limited to 'schema/json/History.json')
-rw-r--r--schema/json/History.json80
1 files changed, 80 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": [