mirror of
https://github.com/openai/codex.git
synced 2026-04-29 00:55:38 +00:00
Add background prefix compaction prewarm
This commit is contained in:
@@ -832,6 +832,16 @@
|
||||
"ContextCompactedNotification": {
|
||||
"description": "Deprecated: Use `ContextCompaction` item type instead.",
|
||||
"properties": {
|
||||
"kind": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ContextCompactionKind"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"threadId": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -845,6 +855,13 @@
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"ContextCompactionKind": {
|
||||
"enum": [
|
||||
"classic",
|
||||
"prefix"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"CreditsSnapshot": {
|
||||
"properties": {
|
||||
"balance": {
|
||||
@@ -3181,6 +3198,16 @@
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"kind": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ContextCompactionKind"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"type": {
|
||||
"enum": [
|
||||
"contextCompaction"
|
||||
|
||||
@@ -7004,6 +7004,16 @@
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"description": "Deprecated: Use `ContextCompaction` item type instead.",
|
||||
"properties": {
|
||||
"kind": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/v2/ContextCompactionKind"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"threadId": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -7018,6 +7028,13 @@
|
||||
"title": "ContextCompactedNotification",
|
||||
"type": "object"
|
||||
},
|
||||
"ContextCompactionKind": {
|
||||
"enum": [
|
||||
"classic",
|
||||
"prefix"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"CreditsSnapshot": {
|
||||
"properties": {
|
||||
"balance": {
|
||||
@@ -13363,6 +13380,16 @@
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"kind": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/v2/ContextCompactionKind"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"type": {
|
||||
"enum": [
|
||||
"contextCompaction"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -1,7 +1,26 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"definitions": {
|
||||
"ContextCompactionKind": {
|
||||
"enum": [
|
||||
"classic",
|
||||
"prefix"
|
||||
],
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"description": "Deprecated: Use `ContextCompaction` item type instead.",
|
||||
"properties": {
|
||||
"kind": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ContextCompactionKind"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"threadId": {
|
||||
"type": "string"
|
||||
},
|
||||
|
||||
@@ -195,6 +195,13 @@
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"ContextCompactionKind": {
|
||||
"enum": [
|
||||
"classic",
|
||||
"prefix"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"DynamicToolCallOutputContentItem": {
|
||||
"oneOf": [
|
||||
{
|
||||
@@ -1106,6 +1113,16 @@
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"kind": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ContextCompactionKind"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"type": {
|
||||
"enum": [
|
||||
"contextCompaction"
|
||||
|
||||
@@ -195,6 +195,13 @@
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"ContextCompactionKind": {
|
||||
"enum": [
|
||||
"classic",
|
||||
"prefix"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"DynamicToolCallOutputContentItem": {
|
||||
"oneOf": [
|
||||
{
|
||||
@@ -1106,6 +1113,16 @@
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"kind": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ContextCompactionKind"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"type": {
|
||||
"enum": [
|
||||
"contextCompaction"
|
||||
|
||||
@@ -331,6 +331,13 @@
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"ContextCompactionKind": {
|
||||
"enum": [
|
||||
"classic",
|
||||
"prefix"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"DynamicToolCallOutputContentItem": {
|
||||
"oneOf": [
|
||||
{
|
||||
@@ -1249,6 +1256,16 @@
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"kind": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ContextCompactionKind"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"type": {
|
||||
"enum": [
|
||||
"contextCompaction"
|
||||
|
||||
@@ -396,6 +396,13 @@
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"ContextCompactionKind": {
|
||||
"enum": [
|
||||
"classic",
|
||||
"prefix"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"DynamicToolCallOutputContentItem": {
|
||||
"oneOf": [
|
||||
{
|
||||
@@ -1763,6 +1770,16 @@
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"kind": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ContextCompactionKind"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"type": {
|
||||
"enum": [
|
||||
"contextCompaction"
|
||||
|
||||
@@ -334,6 +334,13 @@
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"ContextCompactionKind": {
|
||||
"enum": [
|
||||
"classic",
|
||||
"prefix"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"DynamicToolCallOutputContentItem": {
|
||||
"oneOf": [
|
||||
{
|
||||
@@ -1521,6 +1528,16 @@
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"kind": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ContextCompactionKind"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"type": {
|
||||
"enum": [
|
||||
"contextCompaction"
|
||||
|
||||
@@ -334,6 +334,13 @@
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"ContextCompactionKind": {
|
||||
"enum": [
|
||||
"classic",
|
||||
"prefix"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"DynamicToolCallOutputContentItem": {
|
||||
"oneOf": [
|
||||
{
|
||||
@@ -1521,6 +1528,16 @@
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"kind": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ContextCompactionKind"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"type": {
|
||||
"enum": [
|
||||
"contextCompaction"
|
||||
|
||||
@@ -334,6 +334,13 @@
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"ContextCompactionKind": {
|
||||
"enum": [
|
||||
"classic",
|
||||
"prefix"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"DynamicToolCallOutputContentItem": {
|
||||
"oneOf": [
|
||||
{
|
||||
@@ -1521,6 +1528,16 @@
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"kind": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ContextCompactionKind"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"type": {
|
||||
"enum": [
|
||||
"contextCompaction"
|
||||
|
||||
@@ -396,6 +396,13 @@
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"ContextCompactionKind": {
|
||||
"enum": [
|
||||
"classic",
|
||||
"prefix"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"DynamicToolCallOutputContentItem": {
|
||||
"oneOf": [
|
||||
{
|
||||
@@ -1763,6 +1770,16 @@
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"kind": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ContextCompactionKind"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"type": {
|
||||
"enum": [
|
||||
"contextCompaction"
|
||||
|
||||
@@ -334,6 +334,13 @@
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"ContextCompactionKind": {
|
||||
"enum": [
|
||||
"classic",
|
||||
"prefix"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"DynamicToolCallOutputContentItem": {
|
||||
"oneOf": [
|
||||
{
|
||||
@@ -1521,6 +1528,16 @@
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"kind": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ContextCompactionKind"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"type": {
|
||||
"enum": [
|
||||
"contextCompaction"
|
||||
|
||||
@@ -396,6 +396,13 @@
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"ContextCompactionKind": {
|
||||
"enum": [
|
||||
"classic",
|
||||
"prefix"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"DynamicToolCallOutputContentItem": {
|
||||
"oneOf": [
|
||||
{
|
||||
@@ -1763,6 +1770,16 @@
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"kind": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ContextCompactionKind"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"type": {
|
||||
"enum": [
|
||||
"contextCompaction"
|
||||
|
||||
@@ -334,6 +334,13 @@
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"ContextCompactionKind": {
|
||||
"enum": [
|
||||
"classic",
|
||||
"prefix"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"DynamicToolCallOutputContentItem": {
|
||||
"oneOf": [
|
||||
{
|
||||
@@ -1521,6 +1528,16 @@
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"kind": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ContextCompactionKind"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"type": {
|
||||
"enum": [
|
||||
"contextCompaction"
|
||||
|
||||
@@ -334,6 +334,13 @@
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"ContextCompactionKind": {
|
||||
"enum": [
|
||||
"classic",
|
||||
"prefix"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"DynamicToolCallOutputContentItem": {
|
||||
"oneOf": [
|
||||
{
|
||||
@@ -1521,6 +1528,16 @@
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"kind": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ContextCompactionKind"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"type": {
|
||||
"enum": [
|
||||
"contextCompaction"
|
||||
|
||||
@@ -331,6 +331,13 @@
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"ContextCompactionKind": {
|
||||
"enum": [
|
||||
"classic",
|
||||
"prefix"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"DynamicToolCallOutputContentItem": {
|
||||
"oneOf": [
|
||||
{
|
||||
@@ -1249,6 +1256,16 @@
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"kind": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ContextCompactionKind"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"type": {
|
||||
"enum": [
|
||||
"contextCompaction"
|
||||
|
||||
@@ -331,6 +331,13 @@
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"ContextCompactionKind": {
|
||||
"enum": [
|
||||
"classic",
|
||||
"prefix"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"DynamicToolCallOutputContentItem": {
|
||||
"oneOf": [
|
||||
{
|
||||
@@ -1249,6 +1256,16 @@
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"kind": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ContextCompactionKind"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"type": {
|
||||
"enum": [
|
||||
"contextCompaction"
|
||||
|
||||
@@ -331,6 +331,13 @@
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"ContextCompactionKind": {
|
||||
"enum": [
|
||||
"classic",
|
||||
"prefix"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"DynamicToolCallOutputContentItem": {
|
||||
"oneOf": [
|
||||
{
|
||||
@@ -1249,6 +1256,16 @@
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"kind": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ContextCompactionKind"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"type": {
|
||||
"enum": [
|
||||
"contextCompaction"
|
||||
|
||||
Reference in New Issue
Block a user