mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-21 17:45:23 -04:00
[PR #2151] [CLOSED] feat(openai_api_compatible): add new thinking feature to support deepseek v3.1 #2288
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/langgenius/dify-official-plugins/pull/2151
Author: @dadastory
Created: 11/29/2025
Status: ❌ Closed
Base:
main← Head:add_new_thinking_feature📝 Commits (2)
afaefe9# add new thinking feature to support deepseek v3.1a95b305Update models/openai_api_compatible/models/llm/llm.py📊 Changes
2 files changed (+2 additions, -1 deletions)
View changed files
📝
models/openai_api_compatible/manifest.yaml(+1 -1)📝
models/openai_api_compatible/models/llm/llm.py(+1 -0)📄 Description
Related Issues or Context
When sending the POST request, I added a new
thinkingfield tochat_template_kwargsin addition to the existingenable_thinkingfield, in order to ensure compatibility with the DeepSeek v3.1 mode.This PR contains Changes to Non-Plugin
This PR contains Changes to Non-LLM Models Plugin
This PR contains Changes to LLM Models Plugin
My Changes Affect Message Flow Handling (System Messages and User→Assistant Turn-Taking)
My Changes Affect Tool Interaction Flow (Multi-Round Usage and Output Handling, for both Agent App and Agent Node)
My Changes Affect Multimodal Input Handling (Images, PDFs, Audio, Video, etc.)
My Changes Affect Multimodal Output Generation (Images, Audio, Video, etc.)
My Changes Affect Structured Output Format (JSON, XML, etc.)
My Changes Affect Token Consumption Metrics
My Changes Affect Other LLM Functionalities (Reasoning Process, Grounding, Prompt Caching, etc.)
Other Changes (Add New Models, Fix Model Parameters, etc.)
Version Control (Any Changes to the Plugin Will Require Bumping the Version)
VersionField, Not in Meta Section)Dify Plugin SDK Version
dify_plugin>=0.3.0,<0.6.0is in requirements.txtEnvironment Verification (If Any Code Changes)
Local Deployment Environment
SaaS Environment
Old:

New:

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.