Commit 2750b3a
committed
fix(provider): auto-enable interleaved for reasoning models on @ai-sdk/openai-compatible
When a user configures a model with reasoning: true but doesn't explicitly
set interleaved, the default was false. This caused reasoning_content to be
dropped during message replay for @ai-sdk/openai-compatible users.
Now, if reasoning: true is configured and interleaved is not explicitly set,
it defaults to { field: "reasoning_content" } instead of false.1 parent 5cd178b commit 2750b3a
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1177 | 1177 | | |
1178 | 1178 | | |
1179 | 1179 | | |
1180 | | - | |
| 1180 | + | |
1181 | 1181 | | |
1182 | 1182 | | |
1183 | 1183 | | |
| |||
0 commit comments