Commit 8fe48f6
committed
fix: handle empty reasoning_content from non-standard APIs
Some non-standard APIs may return an empty string for
`reasoning_content` even when the model does not support
deep reasoning. This change improves compatibility by
tolerating that response shape.1 parent 6a8bf29 commit 8fe48f6
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
0 commit comments