deepseek: Add deepseek-v4-pro & deepseek-v4-flash - #54731
Conversation
32040a9 to
ee8529c
Compare
ee8529c to
e9523b7
Compare
|
#54492 This issue seems related, but I'm not sure if this PR could close that. |
shenjackyuanjie
left a comment
There was a problem hiding this comment.
DeepSeek Chat, DeepSeek Reasoner should be removed
| // Their API treats this max against the context window, which means we hit the limit a lot | ||
| // Using the default value of None in the API instead | ||
| Self::Chat | Self::Reasoner => None, | ||
| Self::Chat | Self::Reasoner | Self::V4Flash | Self::V4Pro => Some(384_000), |
There was a problem hiding this comment.
remove chat & reeasoner
There was a problem hiding this comment.
- The model names deepseek-chat and deepseek-reasoner will be deprecated on 2026/07/24. For compatibility, they correspond to the non-thinking mode and thinking mode of deepseek-v4-flash, respectively.
Would it be better to wait until July to delete it?
There was a problem hiding this comment.
- The model names deepseek-chat and deepseek-reasoner will be deprecated on 2026/07/24. For compatibility, they correspond to the non-thinking mode and thinking mode of deepseek-v4-flash, respectively.
Would it be better to wait until July to delete it?
I dont think so, as these two name will generate confuse when using
There was a problem hiding this comment.
The old models deleted.
There was a problem hiding this comment.
From my view point, we should remove the old chat and reasoner model in Zed, because they are only nick names for v4 flash and pro. We couldn't give two models which look different but in fact are the same. Deepseek is the provider, they need to keep the old name for some compatibility, give some time for users (like Zed) to migrate, as the migration is easy for Zed (from I see), we should do it now.
47f9395 to
3a24178
Compare
341a3cc to
9876a1f
Compare
This comment was marked as outdated.
This comment was marked as outdated.
I don't get it, which config are you talking about? Could you please give an example? |
This comment was marked as duplicate.
This comment was marked as duplicate.
abacc75 to
8d5cc11
Compare
|
Test as follows: 2026-04-24.20.23.57.mov |
This comment was marked as resolved.
This comment was marked as resolved.
d3b649e to
219f4e6
Compare
For turns with tool calls: retain and return all reasoning_content/thinking of that turn. |
This comment was marked as spam.
This comment was marked as spam.
Signed-off-by: Xiaobo Liu <cppcoffee@gmail.com>
7b65baa to
e35d3ae
Compare
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as low quality.
This comment was marked as low quality.
|
Please do not @- mention team members on your PRs. You guys have polluted this thread with your unnecessary comments. This will be looked at by someone when they get the chance. |
Sorry, I mainly really want this feature, after all the Deepseek API is on sale... |
|
will this PR support the new tool call format |
I did not see any DSML format in the API documentation https://api-docs.deepseek.com/ |
https://huggingface.co/deepseek-ai/DeepSeek-V4-Flash/blob/main/encoding/README.md https://huggingface.co/deepseek-ai/DeepSeek-V4-Pro/blob/main/encoding/README.md both of them mention the |
Co-authored-by: MrSubidubi <dev@bahn.sh>
|
/cherry-pick preview |
…ck to preview) (#55010) Cherry-pick of #54731 to preview ---- reference: https://api-docs.deepseek.com/ Release Notes: - Added deepseek-v4-pro and deepseek-v4-flash models --------- Signed-off-by: Xiaobo Liu <cppcoffee@gmail.com> Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com> Co-authored-by: MrSubidubi <dev@bahn.sh> Signed-off-by: Xiaobo Liu <cppcoffee@gmail.com> Co-authored-by: Xiaobo Liu <cppcoffee@gmail.com> Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com> Co-authored-by: MrSubidubi <dev@bahn.sh>
reference: https://api-docs.deepseek.com/ Release Notes: - Added deepseek-v4-pro and deepseek-v4-flash models --------- Signed-off-by: Xiaobo Liu <cppcoffee@gmail.com> Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com> Co-authored-by: MrSubidubi <dev@bahn.sh>
…) (cherry-pick to preview) (zed-industries#55010) Cherry-pick of zed-industries#54731 to preview ---- reference: https://api-docs.deepseek.com/ Release Notes: - Added deepseek-v4-pro and deepseek-v4-flash models --------- Signed-off-by: Xiaobo Liu <cppcoffee@gmail.com> Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com> Co-authored-by: MrSubidubi <dev@bahn.sh> Signed-off-by: Xiaobo Liu <cppcoffee@gmail.com> Co-authored-by: Xiaobo Liu <cppcoffee@gmail.com> Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com> Co-authored-by: MrSubidubi <dev@bahn.sh>
reference: https://api-docs.deepseek.com/ Release Notes: - Added deepseek-v4-pro and deepseek-v4-flash models --------- Signed-off-by: Xiaobo Liu <cppcoffee@gmail.com> Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com> Co-authored-by: MrSubidubi <dev@bahn.sh>
reference: https://api-docs.deepseek.com/ Release Notes: - Added deepseek-v4-pro and deepseek-v4-flash models --------- Signed-off-by: Xiaobo Liu <cppcoffee@gmail.com> Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com> Co-authored-by: MrSubidubi <dev@bahn.sh>
reference: https://api-docs.deepseek.com/ Release Notes: - Added deepseek-v4-pro and deepseek-v4-flash models --------- Signed-off-by: Xiaobo Liu <cppcoffee@gmail.com> Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com> Co-authored-by: MrSubidubi <dev@bahn.sh>
reference: https://api-docs.deepseek.com/ Release Notes: - Added deepseek-v4-pro and deepseek-v4-flash models --------- Signed-off-by: Xiaobo Liu <cppcoffee@gmail.com> Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com> Co-authored-by: MrSubidubi <dev@bahn.sh>






reference: https://api-docs.deepseek.com/
Closes #54492.
Release Notes: