DeepSeek-V3.1 thinking mode switching dose not work at all #702

Closed
opened 2026-02-16 10:20:14 -05:00 by yindo · 1 comment
Owner

Originally created by @LeeX852 on GitHub (Oct 10, 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 Dify issues & Dify Official Plugins, 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.8.1

Plugin version

OpenAI-API-compatible/0.0.22、vllm/0.1.5

Cloud or Self Hosted

Self Hosted (Source), Self Hosted (Docker)

Steps to reproduce

We are upgrading from deepseek-r1 to V3.1, but we encountered a frustrating issue: the model's thinking mode switch button is not working, so no matter what, V3.1 is always in non-thinking mode.

✔️ Error log

No response

Originally created by @LeeX852 on GitHub (Oct 10, 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 [Dify issues](https://github.com/langgenius/dify/issues) & [Dify Official Plugins](https://github.com/langgenius/dify-official-plugins/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.8.1 ### Plugin version OpenAI-API-compatible/0.0.22、vllm/0.1.5 ### Cloud or Self Hosted Self Hosted (Source), Self Hosted (Docker) ### Steps to reproduce We are upgrading from deepseek-r1 to V3.1, but we encountered a frustrating issue: the model's thinking mode switch button is not working, so no matter what, V3.1 is always in non-thinking mode. ### ✔️ Error log _No response_
yindo added the bug label 2026-02-16 10:20:14 -05:00
yindo closed this issue 2026-02-16 10:20:14 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Oct 10, 2025):

Hi @LeeX852! I'm Dosu and I’m helping the dify-official-plugins team.

DeepSeek-V3.1 thinking mode switching is not currently supported in Dify v1.8.1. The switch button remains non-functional because the codebase relies on model capability registration and conditional logic to enable features like thinking mode. If DeepSeek-V3.1 is not explicitly tagged or registered as supporting thinking mode in the provider registry, agent strategy logic, or UI feature toggles, the switch will not work for that model. This issue does not appear to be addressed in recent updates or pull requests, and there is no evidence of a workaround or patch for DeepSeek-V3.1 at this time (source).

To resolve this, DeepSeek-V3.1 needs to be added to the list of models that support thinking mode in both backend and frontend logic. If you need a temporary workaround, you may want to check if manually updating the provider registry or agent strategy files to include DeepSeek-V3.1 as supporting thinking mode enables the switch, but this is not officially documented or supported yet.

To reply, just mention @dosu.


How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other  Join Discord Share on X

@dosubot[bot] commented on GitHub (Oct 10, 2025): <!-- Greeting --> Hi @LeeX852! I'm [Dosu](https://go.dosu.dev/dosubot) and I’m helping the dify-official-plugins team. <!-- Answer --> DeepSeek-V3.1 thinking mode switching is not currently supported in Dify v1.8.1. The switch button remains non-functional because the codebase relies on model capability registration and conditional logic to enable features like thinking mode. If DeepSeek-V3.1 is not explicitly tagged or registered as supporting thinking mode in the provider registry, agent strategy logic, or UI feature toggles, the switch will not work for that model. This issue does not appear to be addressed in recent updates or pull requests, and there is no evidence of a workaround or patch for DeepSeek-V3.1 at this time ([source](https://github.com/langgenius/dify/pull/25963)). To resolve this, DeepSeek-V3.1 needs to be added to the list of models that support thinking mode in both backend and frontend logic. If you need a temporary workaround, you may want to check if manually updating the provider registry or agent strategy files to include DeepSeek-V3.1 as supporting thinking mode enables the switch, but this is not officially documented or supported yet. <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/f50640a9-fec0-4580-8ef6-2419ea819b51?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/f50640a9-fec0-4580-8ef6-2419ea819b51?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/f50640a9-fec0-4580-8ef6-2419ea819b51?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/f50640a9-fec0-4580-8ef6-2419ea819b51?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/f50640a9-fec0-4580-8ef6-2419ea819b51?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/f50640a9-fec0-4580-8ef6-2419ea819b51?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/f50640a9-fec0-4580-8ef6-2419ea819b51?feedback_type=other)</sup>&nbsp;&nbsp;[![Join Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Share on X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/langgenius/dify-official-plugins/issues/1830)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-official-plugins#702