diff options
author | Nate Sesti <sestinj@gmail.com> | 2023-06-02 14:09:50 -0400 |
---|---|---|
committer | Nate Sesti <sestinj@gmail.com> | 2023-06-02 14:09:50 -0400 |
commit | e627b99a89d346d7ad88947182d110c4aeb3272f (patch) | |
tree | 09f0bd1cbfdec05615870d01a8cedeb7eb4afc51 /schema/json/History.json | |
parent | 22c420cbf26293e145def3e90e7132b4a337a5a5 (diff) | |
parent | a6a66f8a8b42eca861b05d6e7ccc0d0c2cfc8706 (diff) | |
download | sncontinue-e627b99a89d346d7ad88947182d110c4aeb3272f.tar.gz sncontinue-e627b99a89d346d7ad88947182d110c4aeb3272f.tar.bz2 sncontinue-e627b99a89d346d7ad88947182d110c4aeb3272f.zip |
Merge branch 'main' into docs
Diffstat (limited to 'schema/json/History.json')
-rw-r--r-- | schema/json/History.json | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/schema/json/History.json b/schema/json/History.json new file mode 100644 index 00000000..14b82d6d --- /dev/null +++ b/schema/json/History.json @@ -0,0 +1,73 @@ +{ + "title": "History", + "$ref": "#/definitions/src__continuedev__core__main__History", + "definitions": { + "Step": { + "title": "Step", + "type": "object", + "properties": { + "name": { + "title": "Name", + "type": "string" + }, + "hide": { + "title": "Hide", + "default": false, + "type": "boolean" + }, + "system_message": { + "title": "System Message", + "type": "string" + } + } + }, + "Observation": { + "title": "Observation", + "type": "object", + "properties": {} + }, + "HistoryNode": { + "title": "HistoryNode", + "description": "A point in history, a list of which make up History", + "type": "object", + "properties": { + "step": { + "$ref": "#/definitions/Step" + }, + "observation": { + "$ref": "#/definitions/Observation" + }, + "depth": { + "title": "Depth", + "type": "integer" + } + }, + "required": [ + "step", + "depth" + ] + }, + "src__continuedev__core__main__History": { + "title": "History", + "description": "A history of steps taken and their results", + "type": "object", + "properties": { + "timeline": { + "title": "Timeline", + "type": "array", + "items": { + "$ref": "#/definitions/HistoryNode" + } + }, + "current_index": { + "title": "Current Index", + "type": "integer" + } + }, + "required": [ + "timeline", + "current_index" + ] + } + } +}
\ No newline at end of file |