mirror of
https://github.com/block/goose.git
synced 2026-05-01 21:10:54 +00:00
Nest TODO State in session data (#4361)
Co-authored-by: Alex Hancock <alexhancock@block.xyz>
This commit is contained in:
parent
7879445c4b
commit
ef57f5062d
11 changed files with 294 additions and 45 deletions
|
|
@ -2123,6 +2123,11 @@
|
|||
"propertyName": "type"
|
||||
}
|
||||
},
|
||||
"ExtensionData": {
|
||||
"type": "object",
|
||||
"description": "Extension data containing all extension states\nKeys are in format \"extension_name.version\" (e.g., \"todo.v0\")",
|
||||
"additionalProperties": {}
|
||||
},
|
||||
"ExtensionEntry": {
|
||||
"allOf": [
|
||||
{
|
||||
|
|
@ -3207,6 +3212,9 @@
|
|||
"type": "string",
|
||||
"description": "A short description of the session, typically 3 words or less"
|
||||
},
|
||||
"extension_data": {
|
||||
"$ref": "#/components/schemas/ExtensionData"
|
||||
},
|
||||
"input_tokens": {
|
||||
"type": "integer",
|
||||
"format": "int32",
|
||||
|
|
@ -3229,11 +3237,6 @@
|
|||
"description": "ID of the schedule that triggered this session, if any",
|
||||
"nullable": true
|
||||
},
|
||||
"todo_content": {
|
||||
"type": "string",
|
||||
"description": "Session-scoped TODO list content",
|
||||
"nullable": true
|
||||
},
|
||||
"total_tokens": {
|
||||
"type": "integer",
|
||||
"format": "int32",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue