-
Notifications
You must be signed in to change notification settings - Fork 6.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
deepseek-reasoner does not support successive user or assistant messages #1180
Comments
INFO stream-text Sending llm call to Deepseek with model deepseek-reasoner |
Experience the same issue with deepseek-reasoner |
the same here |
try using the context optimization option |
Modifying the value of the |
Describe the bug
AI_APICallError: deepseek-reasoner does not support successive user or assistant messages (messages[2] and messages[3] in your input). You should interleave the user/assistant messages in the message sequence.
Link to the Bolt URL that caused the error
localhost
Steps to reproduce
Expected behavior
As bolt.diy now supports reasoning models and deepseek reasoner is already added to it by default, I would expect it to work from the start.
Screen Recording / Screenshot
No response
Platform
Provider Used
Deepseek API
Model Used
deepseek-reasoner
Additional context
No response
The text was updated successfully, but these errors were encountered: