The model temperature cannot be set in version 1.3 #226

Closed
opened 2026-02-16 10:18:31 -05:00 by yindo · 4 comments
Owner

Originally created by @CCP7 on GitHub (Apr 25, 2025).

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

1.3

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

Image

In the Dify 1.3 version, the temperature of deepseek - r1 cannot be set. If you need to modify the temperature, where should it be set?

It turns out that in version 0.15, the temperature of deepseek-r1 can be set.

Image

✔️ Expected Behavior

You can set the temperature for deepseek-r1

Actual Behavior

The temperature of deep seek-r1 cannot be set.

Originally created by @CCP7 on GitHub (Apr 25, 2025). ### Self Checks - [x] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [x] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [x] Please do not modify this template :) and fill in all the required fields. ### Dify version 1.3 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce ![Image](https://github.com/user-attachments/assets/b19ad8aa-fe32-43f3-a57f-71df15613ca1) In the Dify 1.3 version, the temperature of deepseek - r1 cannot be set. If you need to modify the temperature, where should it be set? It turns out that in version 0.15, the temperature of deepseek-r1 can be set. ![Image](https://github.com/user-attachments/assets/0102c1b6-898c-4e1e-8ce0-6d214f5d64ce) ### ✔️ Expected Behavior You can set the temperature for deepseek-r1 ### ❌ Actual Behavior The temperature of deep seek-r1 cannot be set.
yindo closed this issue 2026-02-16 10:18:31 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Apr 25, 2025):

In version 1.3 of Dify, the temperature setting for models like DeepSeek-R1 is not available in the user interface. However, you can still configure the temperature through the YAML configuration files. The default temperature setting is 0.95, and it can be adjusted by modifying the parameter_rules section in the relevant YAML file. Here's an example of how the configuration might look:

parameter_rules:
  - name: temperature
    default: 0.95

You can find these configuration files in the Dify repository, specifically under the model runtime section for the respective model provider [1].

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other

@dosubot[bot] commented on GitHub (Apr 25, 2025): <!-- Answer --> In version 1.3 of Dify, the temperature setting for models like DeepSeek-R1 is not available in the user interface. However, you can still configure the temperature through the YAML configuration files. The default temperature setting is 0.95, and it can be adjusted by modifying the `parameter_rules` section in the relevant YAML file. Here's an example of how the configuration might look: ```yaml parameter_rules: - name: temperature default: 0.95 ``` You can find these configuration files in the Dify repository, specifically under the model runtime section for the respective model provider <sup>[[1]](https://github.com/langgenius/dify/blob/main/api/core/model_runtime/model_providers/zhipuai/llm/glm-4-flashx.yaml)</sup>. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* --- <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/03b8431f-4429-430e-8a2a-9fd39f969cc2?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/03b8431f-4429-430e-8a2a-9fd39f969cc2?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/03b8431f-4429-430e-8a2a-9fd39f969cc2?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/03b8431f-4429-430e-8a2a-9fd39f969cc2?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/03b8431f-4429-430e-8a2a-9fd39f969cc2?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/03b8431f-4429-430e-8a2a-9fd39f969cc2?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/03b8431f-4429-430e-8a2a-9fd39f969cc2?feedback_type=other)</sup>
Author
Owner

@CCP7 commented on GitHub (Apr 25, 2025):

Image

This address returns a 404.
@Dosu

@CCP7 commented on GitHub (Apr 25, 2025): ![Image](https://github.com/user-attachments/assets/967540be-7f81-45d8-acc6-4ec776e65f2d) This address returns a 404. @Dosu
Author
Owner

@Moiyu1998 commented on GitHub (Apr 26, 2025):

Image

The r1 model itself does not support the temperature parameter. Entering this parameter will not cause an error, but it will not take effect either, so it makes no difference whether this parameter is included or not. In fact, for the r1 model, only the max_token parameter is effective. For more details, please refer to the official documentation shown in the image above.

@Moiyu1998 commented on GitHub (Apr 26, 2025): ![Image](https://github.com/user-attachments/assets/ab90325e-a00a-4657-ad88-88dc90faa138) The r1 model itself does not support the temperature parameter. Entering this parameter will not cause an error, but it will not take effect either, so it makes no difference whether this parameter is included or not. In fact, for the r1 model, only the max_token parameter is effective. For more details, please refer to the official documentation shown in the image above.
Author
Owner

@dosubot[bot] commented on GitHub (Aug 19, 2025):

Hi, @CCP7. I'm Dosu, and I'm helping the dify-official-plugins team manage their backlog and am marking this issue as stale.

Issue Summary:

  • You reported that in Dify v1.3 (self-hosted), the temperature setting for the deepseek-r1 model is no longer adjustable via the UI, unlike in v0.15.
  • It was clarified that temperature can be set in YAML config files, but the provided documentation link was broken.
  • Another user explained that the deepseek-r1 model does not support the temperature parameter at all; only max_token is effective.
  • Consequently, the UI no longer allows adjusting temperature for this model since it has no effect.

Next Steps:

  • Please confirm if this issue is still relevant with the latest version of dify-official-plugins.
  • If it is, feel free to keep the discussion open by commenting; otherwise, I will automatically close this issue in 5 days.

Thank you for your understanding and contribution!

@dosubot[bot] commented on GitHub (Aug 19, 2025): Hi, @CCP7. I'm [Dosu](https://dosu.dev), and I'm helping the dify-official-plugins team manage their backlog and am marking this issue as stale. **Issue Summary:** - You reported that in Dify v1.3 (self-hosted), the temperature setting for the deepseek-r1 model is no longer adjustable via the UI, unlike in v0.15. - It was clarified that temperature can be set in YAML config files, but the provided documentation link was broken. - Another user explained that the deepseek-r1 model does not support the temperature parameter at all; only max_token is effective. - Consequently, the UI no longer allows adjusting temperature for this model since it has no effect. **Next Steps:** - Please confirm if this issue is still relevant with the latest version of dify-official-plugins. - If it is, feel free to keep the discussion open by commenting; otherwise, I will automatically close this issue in 5 days. Thank you for your understanding and contribution!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-official-plugins#226