chore: generate
This commit is contained in:
@@ -885,6 +885,7 @@ export type CompactionPart = {
|
|||||||
type: "compaction"
|
type: "compaction"
|
||||||
auto: boolean
|
auto: boolean
|
||||||
overflow?: boolean
|
overflow?: boolean
|
||||||
|
tail_start_id?: string
|
||||||
}
|
}
|
||||||
|
|
||||||
export type Part =
|
export type Part =
|
||||||
@@ -1642,6 +1643,14 @@ export type Config = {
|
|||||||
* Enable pruning of old tool outputs (default: true)
|
* Enable pruning of old tool outputs (default: true)
|
||||||
*/
|
*/
|
||||||
prune?: boolean
|
prune?: boolean
|
||||||
|
/**
|
||||||
|
* Number of recent user turns, including their following assistant/tool responses, to keep verbatim during compaction (default: 2)
|
||||||
|
*/
|
||||||
|
tail_turns?: number
|
||||||
|
/**
|
||||||
|
* Token budget for retained recent turn spans during compaction
|
||||||
|
*/
|
||||||
|
tail_tokens?: number
|
||||||
/**
|
/**
|
||||||
* Token buffer for compaction. Leaves enough window to avoid overflow during compaction.
|
* Token buffer for compaction. Leaves enough window to avoid overflow during compaction.
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -9945,6 +9945,10 @@
|
|||||||
},
|
},
|
||||||
"overflow": {
|
"overflow": {
|
||||||
"type": "boolean"
|
"type": "boolean"
|
||||||
|
},
|
||||||
|
"tail_start_id": {
|
||||||
|
"type": "string",
|
||||||
|
"pattern": "^msg.*"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": ["id", "sessionID", "messageID", "type", "auto"]
|
"required": ["id", "sessionID", "messageID", "type", "auto"]
|
||||||
@@ -11868,6 +11872,18 @@
|
|||||||
"description": "Enable pruning of old tool outputs (default: true)",
|
"description": "Enable pruning of old tool outputs (default: true)",
|
||||||
"type": "boolean"
|
"type": "boolean"
|
||||||
},
|
},
|
||||||
|
"tail_turns": {
|
||||||
|
"description": "Number of recent user turns, including their following assistant/tool responses, to keep verbatim during compaction (default: 2)",
|
||||||
|
"type": "integer",
|
||||||
|
"minimum": 0,
|
||||||
|
"maximum": 9007199254740991
|
||||||
|
},
|
||||||
|
"tail_tokens": {
|
||||||
|
"description": "Token budget for retained recent turn spans during compaction",
|
||||||
|
"type": "integer",
|
||||||
|
"minimum": 0,
|
||||||
|
"maximum": 9007199254740991
|
||||||
|
},
|
||||||
"reserved": {
|
"reserved": {
|
||||||
"description": "Token buffer for compaction. Leaves enough window to avoid overflow during compaction.",
|
"description": "Token buffer for compaction. Leaves enough window to avoid overflow during compaction.",
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
|
|||||||
Reference in New Issue
Block a user