Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

add deepseek-reasoner (#12898)

JasonVV9903f1e70348
diff --git a/api/core/model_runtime/model_providers/deepseek/llm/_position.yaml b/api/core/model_runtime/model_providers/deepseek/llm/_position.yaml
index 43d03f2ee95..eeac8aa405d 100644
--- a/api/core/model_runtime/model_providers/deepseek/llm/_position.yaml
+++ b/api/core/model_runtime/model_providers/deepseek/llm/_position.yaml
@@ -1,2 +1,3 @@
- deepseek-chat
- deepseek-coder
+- deepseek-reasoner
diff --git a/api/core/model_runtime/model_providers/deepseek/llm/deepseek-reasoner.yaml b/api/core/model_runtime/model_providers/deepseek/llm/deepseek-reasoner.yaml
new file mode 100644
index 00000000000..4a025d5ae9e
--- /dev/null
+++ b/api/core/model_runtime/model_providers/deepseek/llm/deepseek-reasoner.yaml
@@ -0,0 +1,16 @@
+model: deepseek-reasoner
+label:
+ zh_Hans: deepseek-reasoner
+ en_US: deepseek-reasoner
+model_type: llm
+features:
+ - agent-thought
+model_properties:
+ mode: chat
+ context_size: 128000
+parameter_rules:
+ - name: max_tokens
+ use_template: max_tokens
+ min: 1
+ max: 8192
+ default: 4096