Commit b0de3a2
authored
fix: stream(legacy): include delta.reasoning alongside reasoning_summary
In legacy/current compatibility mode, stream both `delta.reasoning_summary` and
`delta.reasoning` (string) for reasoning deltas. This ensures clients that
expect `choices[0].delta.reasoning` as a string (e.g., OpenCode) render
reasoning without schema errors.
Change made only to legacy to avoid breakage with other software1 parent c8c6540 commit b0de3a2
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
409 | 409 | | |
410 | 410 | | |
411 | 411 | | |
412 | | - | |
| 412 | + | |
413 | 413 | | |
414 | 414 | | |
415 | 415 | | |
| |||
0 commit comments