Преглед на файлове

fix: fix qwen series model type (#8580)

Su Yang преди 7 месеца
родител
ревизия
1568c5cae9

+ 1 - 1
api/core/model_runtime/model_providers/tongyi/llm/qwen-plus.yaml

@@ -5,7 +5,7 @@ model_type: llm
 features:
   - agent-thought
 model_properties:
-  mode: completion
+  mode: chat
   context_size: 131072
 parameter_rules:
   - name: temperature

+ 1 - 1
api/core/model_runtime/model_providers/tongyi/llm/qwen-turbo-0206.yaml

@@ -5,7 +5,7 @@ model_type: llm
 features:
   - agent-thought
 model_properties:
-  mode: completion
+  mode: chat
   context_size: 8192
 parameter_rules:
   - name: temperature

+ 1 - 1
api/core/model_runtime/model_providers/tongyi/llm/qwen-turbo-0624.yaml

@@ -5,7 +5,7 @@ model_type: llm
 features:
   - agent-thought
 model_properties:
-  mode: completion
+  mode: chat
   context_size: 8192
 parameter_rules:
   - name: temperature

+ 1 - 1
api/core/model_runtime/model_providers/tongyi/llm/qwen-turbo.yaml

@@ -5,7 +5,7 @@ model_type: llm
 features:
   - agent-thought
 model_properties:
-  mode: completion
+  mode: chat
   context_size: 8192
 parameter_rules:
   - name: temperature

+ 1 - 1
api/core/model_runtime/model_providers/tongyi/llm/qwen2-math-1.5b-instruct.yaml

@@ -5,7 +5,7 @@ model_type: llm
 features:
   - agent-thought
 model_properties:
-  mode: completion
+  mode: chat
   context_size: 4096
 parameter_rules:
   - name: temperature

+ 1 - 1
api/core/model_runtime/model_providers/tongyi/llm/qwen2-math-72b-instruct.yaml

@@ -5,7 +5,7 @@ model_type: llm
 features:
   - agent-thought
 model_properties:
-  mode: completion
+  mode: chat
   context_size: 4096
 parameter_rules:
   - name: temperature

+ 1 - 1
api/core/model_runtime/model_providers/tongyi/llm/qwen2-math-7b-instruct.yaml

@@ -5,7 +5,7 @@ model_type: llm
 features:
   - agent-thought
 model_properties:
-  mode: completion
+  mode: chat
   context_size: 4096
 parameter_rules:
   - name: temperature

+ 1 - 1
api/core/model_runtime/model_providers/tongyi/llm/qwen2.5-0.5b-instruct.yaml

@@ -5,7 +5,7 @@ model_type: llm
 features:
   - agent-thought
 model_properties:
-  mode: completion
+  mode: chat
   context_size: 32768
 parameter_rules:
   - name: temperature

+ 1 - 1
api/core/model_runtime/model_providers/tongyi/llm/qwen2.5-1.5b-instruct.yaml

@@ -5,7 +5,7 @@ model_type: llm
 features:
   - agent-thought
 model_properties:
-  mode: completion
+  mode: chat
   context_size: 32768
 parameter_rules:
   - name: temperature

+ 1 - 1
api/core/model_runtime/model_providers/tongyi/llm/qwen2.5-14b-instruct.yaml

@@ -5,7 +5,7 @@ model_type: llm
 features:
   - agent-thought
 model_properties:
-  mode: completion
+  mode: chat
   context_size: 131072
 parameter_rules:
   - name: temperature

+ 1 - 1
api/core/model_runtime/model_providers/tongyi/llm/qwen2.5-32b-instruct.yaml

@@ -5,7 +5,7 @@ model_type: llm
 features:
   - agent-thought
 model_properties:
-  mode: completion
+  mode: chat
   context_size: 131072
 parameter_rules:
   - name: temperature

+ 1 - 1
api/core/model_runtime/model_providers/tongyi/llm/qwen2.5-3b-instruct.yaml

@@ -5,7 +5,7 @@ model_type: llm
 features:
   - agent-thought
 model_properties:
-  mode: completion
+  mode: chat
   context_size: 32768
 parameter_rules:
   - name: temperature

+ 1 - 1
api/core/model_runtime/model_providers/tongyi/llm/qwen2.5-72b-instruct.yaml

@@ -5,7 +5,7 @@ model_type: llm
 features:
   - agent-thought
 model_properties:
-  mode: completion
+  mode: chat
   context_size: 131072
 parameter_rules:
   - name: temperature

+ 1 - 1
api/core/model_runtime/model_providers/tongyi/llm/qwen2.5-7b-instruct.yaml

@@ -5,7 +5,7 @@ model_type: llm
 features:
   - agent-thought
 model_properties:
-  mode: completion
+  mode: chat
   context_size: 131072
 parameter_rules:
   - name: temperature

+ 1 - 1
api/core/model_runtime/model_providers/tongyi/llm/qwen2.5-coder-7b-instruct.yaml

@@ -5,7 +5,7 @@ model_type: llm
 features:
   - agent-thought
 model_properties:
-  mode: completion
+  mode: chat
   context_size: 131072
 parameter_rules:
   - name: temperature