feat(core): configure Anthropic cache breakpoints with compatibility.cacheFormat (#54945)

This commit is contained in:
Aiden Cline
2026-10-12 20:23:14 -05:00
committed by GitHub
Unverified
parent 6a12383d3e
commit 69a71426ce
15 changed files with 196 additions and 14 deletions
+10
View File
@@ -16600,6 +16600,10 @@
"required": ["_tag", "sessionID", "messageID", "message"],
"additionalProperties": false
},
"Model.CacheFormat": {
"type": "string",
"enum": ["anthropic", "alibaba"]
},
"Model.Capabilities": {
"type": "object",
"properties": {
@@ -16643,6 +16647,9 @@
"supportsPromptCacheKey": {
"type": "boolean"
},
"cacheFormat": {
"$ref": "#/components/schemas/Model.CacheFormat"
},
"supportsThinkingBlockBinding": {
"type": "boolean"
},
@@ -17741,6 +17748,9 @@
},
"supportsPromptCacheKey": {
"type": "boolean"
},
"cacheFormat": {
"$ref": "#/components/schemas/Model.CacheFormat"
}
},
"additionalProperties": false