[PR #5329] Update and fix the model param of Deepseek #24879

Closed
opened 2026-02-21 20:23:51 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/langgenius/dify/pull/5329

State: closed
Merged: Yes


Description

Deepseek just announce their new models, and it claims that the backend models have been updated. However, after reviewing the code related to these two models, I found out that the max number of max_token is larger that what's set in the official docs.

Type of Change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

The previous max_token setting could break the usage.

Checklist:

  • I have performed a self-review of my own code
  • My changes generate no new warnings
**Original Pull Request:** https://github.com/langgenius/dify/pull/5329 **State:** closed **Merged:** Yes --- # Description Deepseek just announce [their new models](https://mp.weixin.qq.com/s/XvDMVZmynO5MxxdpEo9hFg), and it claims that the backend models have been updated. However, after reviewing the code related to these two models, I found out that the max number of max_token is larger that what's set in [the official docs](https://platform.deepseek.com/api-docs/#token--token-usage:~:text=(1)%20The%20backend,32K%20context%20window.). ## Type of Change Please delete options that are not relevant. - [x] Bug fix (non-breaking change which fixes an issue) - [x] New feature (non-breaking change which adds functionality) # How Has This Been Tested? The previous max_token setting could break the usage. # Checklist: - [x] I have performed a self-review of my own code - [x] My changes generate no new warnings
yindo added the pull-request label 2026-02-21 20:23:51 -05:00
yindo closed this issue 2026-02-21 20:23:51 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#24879