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.

feat: support minimax abab6.5, abab6.5s (#4012)

Weaxs1e6e8b446d62
diff --git a/api/core/model_runtime/model_providers/minimax/llm/abab6.5-chat.yaml b/api/core/model_runtime/model_providers/minimax/llm/abab6.5-chat.yaml
new file mode 100644
index 00000000000..ead61fb7ca8
--- /dev/null
+++ b/api/core/model_runtime/model_providers/minimax/llm/abab6.5-chat.yaml
@@ -0,0 +1,37 @@
+model: abab6.5-chat
+label:
+ en_US: Abab6.5-Chat
+model_type: llm
+features:
+ - agent-thought
+ - tool-call
+ - stream-tool-call
+model_properties:
+ mode: chat
+ context_size: 8192
+parameter_rules:
+ - name: temperature
+ use_template: temperature
+ min: 0.01
+ max: 1
+ default: 0.1
+ - name: top_p
+ use_template: top_p
+ min: 0.01
+ max: 1
+ default: 0.95
+ - name: max_tokens
+ use_template: max_tokens
+ required: true
+ default: 2048
+ min: 1
+ max: 8192
+ - name: presence_penalty
+ use_template: presence_penalty
+ - name: frequency_penalty
+ use_template: frequency_penalty
+pricing:
+ input: '0.03'
+ output: '0.03'
+ unit: '0.001'
+ currency: RMB
diff --git a/api/core/model_runtime/model_providers/minimax/llm/abab6.5s-chat.yaml b/api/core/model_runtime/model_providers/minimax/llm/abab6.5s-chat.yaml
new file mode 100644
index 00000000000..2cd98abb224
--- /dev/null
+++ b/api/core/model_runtime/model_providers/minimax/llm/abab6.5s-chat.yaml
@@ -0,0 +1,37 @@
+model: abab6.5s-chat
+label:
+ en_US: Abab6.5s-Chat
+model_type: llm
+features:
+ - agent-thought
+ - tool-call
+ - stream-tool-call
+model_properties:
+ mode: chat
+ context_size: 245760
+parameter_rules:
+ - name: temperature
+ use_template: temperature
+ min: 0.01
+ max: 1
+ default: 0.1
+ - name: top_p
+ use_template: top_p
+ min: 0.01
+ max: 1
+ default: 0.95
+ - name: max_tokens
+ use_template: max_tokens
+ required: true
+ default: 2048
+ min: 1
+ max: 245760
+ - name: presence_penalty
+ use_template: presence_penalty
+ - name: frequency_penalty
+ use_template: frequency_penalty
+pricing:
+ input: '0.01'
+ output: '0.01'
+ unit: '0.001'
+ currency: RMB