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
commit a1ab489e61
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 63 additions and 16 deletions

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"],