mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-18 07:12:47 +03:00
feat(core): configure Anthropic cache breakpoints with compatibility.cacheFormat (#54945)
This commit is contained in:
committed by
GitHub
Unverified
parent
6a12383d3e
commit
69a71426ce
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user