fix(provider): widen interleaved reasoning fields (#39556)

Co-authored-by: Aiden Cline <rekram1-node@users.noreply.github.com>
This commit is contained in:
opencode-agent[bot]
2026-07-30 11:10:34 -05:00
committed by GitHub
parent ecfff673a9
commit ecc58c5fc2
6 changed files with 63 additions and 16 deletions
+26 -6
View File
@@ -20820,15 +20820,28 @@
"interleaved": {
"anyOf": [
{
"type": "boolean",
"enum": [true]
"type": "boolean"
},
{
"type": "string",
"enum": ["reasoning", "reasoning_content", "reasoning_text"]
},
{
"type": "string"
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": ["reasoning", "reasoning_content", "reasoning_details"]
"anyOf": [
{
"type": "string",
"enum": ["reasoning", "reasoning_content", "reasoning_text"]
},
{
"type": "string"
}
]
}
},
"required": ["field"],
@@ -21641,8 +21654,15 @@
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": ["reasoning", "reasoning_content", "reasoning_details"]
"anyOf": [
{
"type": "string",
"enum": ["reasoning", "reasoning_content", "reasoning_text"]
},
{
"type": "string"
}
]
}
},
"required": ["field"],