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 mixtral 8x22b (#3606)

Joshuade3b490f8e10
diff --git a/api/core/model_runtime/model_providers/mistralai/llm/mistral-large-latest.yaml b/api/core/model_runtime/model_providers/mistralai/llm/mistral-large-latest.yaml
index b8ed8ba934b..a0d07a2bf80 100644
--- a/api/core/model_runtime/model_providers/mistralai/llm/mistral-large-latest.yaml
+++ b/api/core/model_runtime/model_providers/mistralai/llm/mistral-large-latest.yaml
@@ -6,6 +6,7 @@ model_type: llm
features:
- agent-thought
model_properties:
+ mode: chat
context_size: 32000
parameter_rules:
- name: temperature
diff --git a/api/core/model_runtime/model_providers/mistralai/llm/mistral-medium-latest.yaml b/api/core/model_runtime/model_providers/mistralai/llm/mistral-medium-latest.yaml
index bf6f1b2d1d9..7c7440894c0 100644
--- a/api/core/model_runtime/model_providers/mistralai/llm/mistral-medium-latest.yaml
+++ b/api/core/model_runtime/model_providers/mistralai/llm/mistral-medium-latest.yaml
@@ -6,6 +6,7 @@ model_type: llm
features:
- agent-thought
model_properties:
+ mode: chat
context_size: 32000
parameter_rules:
- name: temperature
diff --git a/api/core/model_runtime/model_providers/mistralai/llm/mistral-small-latest.yaml b/api/core/model_runtime/model_providers/mistralai/llm/mistral-small-latest.yaml
index 111cd054576..865e6102262 100644
--- a/api/core/model_runtime/model_providers/mistralai/llm/mistral-small-latest.yaml
+++ b/api/core/model_runtime/model_providers/mistralai/llm/mistral-small-latest.yaml
@@ -6,6 +6,7 @@ model_type: llm
features:
- agent-thought
model_properties:
+ mode: chat
context_size: 32000
parameter_rules:
- name: temperature
diff --git a/api/core/model_runtime/model_providers/mistralai/llm/open-mistral-7b.yaml b/api/core/model_runtime/model_providers/mistralai/llm/open-mistral-7b.yaml
index 4f726486624..ac292269599 100644
--- a/api/core/model_runtime/model_providers/mistralai/llm/open-mistral-7b.yaml
+++ b/api/core/model_runtime/model_providers/mistralai/llm/open-mistral-7b.yaml
@@ -6,6 +6,7 @@ model_type: llm
features:
- agent-thought
model_properties:
+ mode: chat
context_size: 8000
parameter_rules:
- name: temperature
diff --git a/api/core/model_runtime/model_providers/mistralai/llm/open-mixtral-8x22b.yaml b/api/core/model_runtime/model_providers/mistralai/llm/open-mixtral-8x22b.yaml
index 14a98851166..325fafd4973 100644
--- a/api/core/model_runtime/model_providers/mistralai/llm/open-mixtral-8x22b.yaml
+++ b/api/core/model_runtime/model_providers/mistralai/llm/open-mixtral-8x22b.yaml
@@ -6,6 +6,7 @@ model_type: llm
features:
- agent-thought
model_properties:
+ mode: chat
context_size: 64000
parameter_rules:
- name: temperature
diff --git a/api/core/model_runtime/model_providers/mistralai/llm/open-mixtral-8x7b.yaml b/api/core/model_runtime/model_providers/mistralai/llm/open-mixtral-8x7b.yaml
index 719de29c3a0..d217e5e7e98 100644
--- a/api/core/model_runtime/model_providers/mistralai/llm/open-mixtral-8x7b.yaml
+++ b/api/core/model_runtime/model_providers/mistralai/llm/open-mixtral-8x7b.yaml
@@ -6,6 +6,7 @@ model_type: llm
features:
- agent-thought
model_properties:
+ mode: chat
context_size: 32000
parameter_rules:
- name: temperature