Add support for Deepseek V4 Pro and Deepseek V4 Flash#12181
Open
HH45137 wants to merge 2 commits intoRooCodeInc:mainfrom
Open
Add support for Deepseek V4 Pro and Deepseek V4 Flash#12181HH45137 wants to merge 2 commits intoRooCodeInc:mainfrom
HH45137 wants to merge 2 commits intoRooCodeInc:mainfrom
Conversation
|
deepseek-reasoner is currently using deepseek-v4-flash credits for me, even thought the model itself states that he is deepseek-v4-pro. It is for sure deepseek-v4-flash with the speed it has. |
Author
On my end, Pro and Flash are functioning properly. I have used them to solve my C++ coding issues.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Related GitHub Issue
Closes: #12173
Closes: #12177
Closes: #12174
Description
Added support for DeepSeek V4 Flash (
deepseek-v4-flash) and DeepSeek V4 Pro (deepseek-v4-pro) models to the DeepSeek provider, as requested in #12173, #12177, #12174.Changes made:
packages/types/src/providers/deepseek.ts— Added two new model entries todeepSeekModels:deepseek-v4-flashdeepseek-v4-prosrc/api/providers/deepseek.ts— Updated the thinking model detection logic (line 59-62) to recognize the new V4 model IDs (deepseek-v4-proanddeepseek-v4-flash) in addition todeepseek-reasoner, enabling thinking mode for these models.Key design decisions:
{ thinking: { type: "enabled" } }Test Procedure
deepseek-v4-flashanddeepseek-v4-proappear in the model dropdownreasoning_contentis properly handledPre-Submission Checklist
Screenshots / Videos
Documentation Updates
Additional Notes
Pricing data for V4 models referenced from DeepSeek API Pricing and Thinking Mode Guide.
Interactively review PR in Roo Code Cloud