Просмотр исходного кода

chore(config): textGeneration 默认模型从 MiniMax-M2.7 切换为 MiniMax-M3

MyFramework User 2 месяцев назад
Родитель
Сommit
16de0cc191
2 измененных файлов с 14 добавлено и 2 удалено
  1. 11 1
      deploy-package/server/config/models.json
  2. 3 1
      server/src/config/models.json

+ 11 - 1
deploy-package/server/config/models.json

@@ -55,6 +55,16 @@
       "apiKey": "sk-cp-s8hGJr4ACdlZ4GM0LjZ1l2ZNBUAMGwd2ahl0c3W2g6C0EiNH0UvwOBx2q0oJOYO6ca5HqJccP_KRUPucoBizavlwDSZp-ohOGeUw2ymAdXPuM6r3CIDmmlY",
       "apiKey": "sk-cp-s8hGJr4ACdlZ4GM0LjZ1l2ZNBUAMGwd2ahl0c3W2g6C0EiNH0UvwOBx2q0oJOYO6ca5HqJccP_KRUPucoBizavlwDSZp-ohOGeUw2ymAdXPuM6r3CIDmmlY",
       "apiType": "openai-chat",
       "apiType": "openai-chat",
       "models": [
       "models": [
+        {
+          "id": "MiniMax-M3",
+          "name": "MiniMax M3",
+          "input": ["text"],
+          "contextWindow": 128000,
+          "maxTokens": 4096,
+          "temperature": 0.7,
+          "supportsToolCall": true,
+          "enabled": true
+        },
         {
         {
           "id": "MiniMax-M2.7",
           "id": "MiniMax-M2.7",
           "name": "MiniMax M2.7",
           "name": "MiniMax M2.7",
@@ -158,7 +168,7 @@
     }
     }
   },
   },
   "textGeneration": {
   "textGeneration": {
-    "defaultModel": "qwen3.6-plus"
+    "defaultModel": "MiniMax-M3"
   },
   },
   "tts": {
   "tts": {
     "defaultModel": "MiniMax-Speech-2.8-Turbo",
     "defaultModel": "MiniMax-Speech-2.8-Turbo",

+ 3 - 1
server/src/config/models.json

@@ -8,6 +8,7 @@
       "apiType": "openai-chat",
       "apiType": "openai-chat",
       "priority": 1,
       "priority": 1,
       "models": [
       "models": [
+        {"id": "MiniMax-M3","name": "MiniMax M3","input": ["text"],"contextWindow": 204800,"maxTokens": 16000,"temperature": 0.7,"supportsToolCall": true,"enabled": true},
         {"id": "MiniMax-M2.7","name": "MiniMax M2.7","input": ["text"],"contextWindow": 204800,"maxTokens": 16000,"temperature": 0.7,"supportsToolCall": true,"enabled": true},
         {"id": "MiniMax-M2.7","name": "MiniMax M2.7","input": ["text"],"contextWindow": 204800,"maxTokens": 16000,"temperature": 0.7,"supportsToolCall": true,"enabled": true},
         {"id": "MiniMax-M2.7-highspeed","name": "MiniMax M2.7 极速版","input": ["text"],"contextWindow": 204800,"maxTokens": 16000,"temperature": 0.7,"supportsToolCall": true,"enabled": true},
         {"id": "MiniMax-M2.7-highspeed","name": "MiniMax M2.7 极速版","input": ["text"],"contextWindow": 204800,"maxTokens": 16000,"temperature": 0.7,"supportsToolCall": true,"enabled": true},
         {"id": "MiniMax-image-01","name": "MiniMax image-01","input": ["image"],"apiPath": "/image_generation","enabled": true},
         {"id": "MiniMax-image-01","name": "MiniMax image-01","input": ["image"],"apiPath": "/image_generation","enabled": true},
@@ -22,6 +23,7 @@
       "apiType": "openai-chat",
       "apiType": "openai-chat",
       "priority": 2,
       "priority": 2,
       "models": [
       "models": [
+        {"id": "MiniMax-M3","name": "MiniMax M3","input": ["text"],"contextWindow": 204800,"maxTokens": 16000,"temperature": 0.7,"supportsToolCall": true,"enabled": true},
         {"id": "MiniMax-M2.7","name": "MiniMax M2.7","input": ["text"],"contextWindow": 204800,"maxTokens": 16000,"temperature": 0.7,"supportsToolCall": true,"enabled": true},
         {"id": "MiniMax-M2.7","name": "MiniMax M2.7","input": ["text"],"contextWindow": 204800,"maxTokens": 16000,"temperature": 0.7,"supportsToolCall": true,"enabled": true},
         {"id": "MiniMax-M2.7-highspeed","name": "MiniMax M2.7 极速版","input": ["text"],"contextWindow": 204800,"maxTokens": 16000,"temperature": 0.7,"supportsToolCall": true,"enabled": true}
         {"id": "MiniMax-M2.7-highspeed","name": "MiniMax M2.7 极速版","input": ["text"],"contextWindow": 204800,"maxTokens": 16000,"temperature": 0.7,"supportsToolCall": true,"enabled": true}
       ]
       ]
@@ -176,7 +178,7 @@
     }
     }
   },
   },
   "textGeneration": {
   "textGeneration": {
-    "defaultModel": "MiniMax-M2.7"
+    "defaultModel": "MiniMax-M3"
   },
   },
   "tts": {
   "tts": {
     "defaultVendor": "bailian",
     "defaultVendor": "bailian",