summaryrefslogtreecommitdiff
path: root/schema/json
diff options
context:
space:
mode:
authorNate Sesti <33237525+sestinj@users.noreply.github.com>2023-08-06 22:54:51 -0700
committerGitHub <noreply@github.com>2023-08-06 22:54:51 -0700
commit74005855304412f0401e29c83c166e99a8ab0944 (patch)
tree4e8ddb61fd52068e839ca4ccab268e013405d545 /schema/json
parenta0d3f29ee237484c66b0efe243c79d902f2da993 (diff)
parent8ada89b0f66f9e746394ee64591359537fe0c7f0 (diff)
downloadsncontinue-74005855304412f0401e29c83c166e99a8ab0944.tar.gz
sncontinue-74005855304412f0401e29c83c166e99a8ab0944.tar.bz2
sncontinue-74005855304412f0401e29c83c166e99a8ab0944.zip
Merge pull request #351 from continuedev/history
Session History
Diffstat (limited to 'schema/json')
-rw-r--r--schema/json/FullState.json5
-rw-r--r--schema/json/SessionInfo.json29
2 files changed, 29 insertions, 5 deletions
diff --git a/schema/json/FullState.json b/schema/json/FullState.json
index 7b6dfd6b..21db438a 100644
--- a/schema/json/FullState.json
+++ b/schema/json/FullState.json
@@ -264,10 +264,6 @@
"type": "string"
}
},
- "default_model": {
- "title": "Default Model",
- "type": "string"
- },
"slash_commands": {
"title": "Slash Commands",
"type": "array",
@@ -291,7 +287,6 @@
"history",
"active",
"user_input_queue",
- "default_model",
"slash_commands",
"adding_highlighted_code",
"selected_context_items"
diff --git a/schema/json/SessionInfo.json b/schema/json/SessionInfo.json
new file mode 100644
index 00000000..5857a724
--- /dev/null
+++ b/schema/json/SessionInfo.json
@@ -0,0 +1,29 @@
+{
+ "title": "SessionInfo",
+ "$ref": "#/definitions/src__continuedev__core__main__SessionInfo",
+ "definitions": {
+ "src__continuedev__core__main__SessionInfo": {
+ "title": "SessionInfo",
+ "type": "object",
+ "properties": {
+ "session_id": {
+ "title": "Session Id",
+ "type": "string"
+ },
+ "title": {
+ "title": "Title",
+ "type": "string"
+ },
+ "date_created": {
+ "title": "Date Created",
+ "type": "string"
+ }
+ },
+ "required": [
+ "session_id",
+ "title",
+ "date_created"
+ ]
+ }
+ }
+} \ No newline at end of file