You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
reasoning_content not sent when using @ai-sdk/openai-compatible with deepseek-reasoner #6040
Activity
github-actions commentedon Dec 23, 2025
This issue might be a duplicate of existing issues. Please check:
reasoning_content#4947: DeepSeek 3.2: Missingreasoning_content- Similar issue with missing reasoning_content fieldFeel free to ignore if this addresses a specific case with @ai-sdk/openai-compatible that differs from these issues.
rekram1-node commentedon Dec 23, 2025
If you are making a custom model that needs reasoning content you need to tell us this in your config so just add:
“interleaved”: {
“field”: “reasoning_content”
}
to your model options and it should work
rekram1-node commentedon Dec 23, 2025
Here is what you need to set:
aaudin90 commentedon Dec 24, 2025
It works, thx