Add background prefix compaction prewarm

This commit is contained in:
Rohit Arunachalam
2026-04-09 18:43:38 -07:00
parent ff1ab61e4f
commit ebf13cda36
51 changed files with 1900 additions and 32 deletions

View File

@@ -3652,6 +3652,16 @@
"$schema": "http://json-schema.org/draft-07/schema#",
"description": "Deprecated: Use `ContextCompaction` item type instead.",
"properties": {
"kind": {
"anyOf": [
{
"$ref": "#/definitions/ContextCompactionKind"
},
{
"type": "null"
}
]
},
"threadId": {
"type": "string"
},
@@ -3666,6 +3676,13 @@
"title": "ContextCompactedNotification",
"type": "object"
},
"ContextCompactionKind": {
"enum": [
"classic",
"prefix"
],
"type": "string"
},
"CreditsSnapshot": {
"properties": {
"balance": {
@@ -11218,6 +11235,16 @@
"id": {
"type": "string"
},
"kind": {
"anyOf": [
{
"$ref": "#/definitions/ContextCompactionKind"
},
{
"type": "null"
}
]
},
"type": {
"enum": [
"contextCompaction"