diff options
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": [ | 
