chengjie 4 mēneši atpakaļ
vecāks
revīzija
9a5017fcb8

+ 2 - 0
src/api/yjbdc/aiController.js

@@ -437,6 +437,8 @@ class AIProviderFactory {
437
                 return new AliyunAIProvider("qwen-plus");
437
                 return new AliyunAIProvider("qwen-plus");
438
             case 'ali-qwen-max':
438
             case 'ali-qwen-max':
439
                 return new AliyunAIProvider("qwen-max");
439
                 return new AliyunAIProvider("qwen-max");
440
+            case 'llama-4-scout-17b-16e-instruct':
441
+                return new AliyunAIProvider(providerLower);
440
             case 'llama-4-maverick-17b-128e-instruct':
442
             case 'llama-4-maverick-17b-128e-instruct':
441
                 return new AliyunAIProvider(providerLower);
443
                 return new AliyunAIProvider(providerLower);
442
             case 'xf-yun-spark-x1':
444
             case 'xf-yun-spark-x1':

+ 2 - 2
src/api/yjbdc/yjbdcController.js

@@ -241,10 +241,10 @@ export async function GenerateArticle(ctx) {
241
 
241
 
242
             //给用户一些比较好的体验
242
             //给用户一些比较好的体验
243
             if (params.AIVersion=="1.0"){
243
             if (params.AIVersion=="1.0"){
244
-                aiProvider = 'llama-4-maverick-17b-128e-instruct';
244
+                aiProvider = 'llama-4-scout-17b-16e-instruct';
245
             }
245
             }
246
             else if (params.AIVersion=="1.5"){
246
             else if (params.AIVersion=="1.5"){
247
-                aiProvider = 'doubao-seed-1-6-250615';
247
+                aiProvider = 'llama-4-maverick-17b-128e-instruct';
248
             }
248
             }
249
             
249
             
250
             
250
             

+ 3 - 2
src/util/constant/index.js

@@ -30,14 +30,15 @@ export default {
30
         ];        
30
         ];        
31
         result.AIVersion=[
31
         result.AIVersion=[
32
             {Version:"1.0",BuildSecond:15,Model:"",Content:"词句丰富,结构简明\n平均15秒生成",CSS:"Selected"},
32
             {Version:"1.0",BuildSecond:15,Model:"",Content:"词句丰富,结构简明\n平均15秒生成",CSS:"Selected"},
33
-            {Version:"1.5",BuildSecond:60,Model:"",Content:"深度表达,更多要素\n平均60秒生成",CSS:""},
33
+            {Version:"1.5",BuildSecond:30,Model:"",Content:"深度表达,更多要素\n平均30秒生成",CSS:""},
34
             {Version:"db15",BuildSecond:30,Model:"doubao-1-5-pro-32k-250115",Content:"字节豆包1.5\n平均30秒生成",CSS:"Selected"},
34
             {Version:"db15",BuildSecond:30,Model:"doubao-1-5-pro-32k-250115",Content:"字节豆包1.5\n平均30秒生成",CSS:"Selected"},
35
             {Version:"db16",BuildSecond:60,Model:"doubao-seed-1-6-250615",Content:"字节豆包1.6\n平均60秒生成",CSS:""},
35
             {Version:"db16",BuildSecond:60,Model:"doubao-seed-1-6-250615",Content:"字节豆包1.6\n平均60秒生成",CSS:""},
36
             {Version:"dp3",BuildSecond:60,Model:"doubao-deepseek-v3-250324",Content:"字节deepseek_v3\n平均60秒生成",CSS:""},
36
             {Version:"dp3",BuildSecond:60,Model:"doubao-deepseek-v3-250324",Content:"字节deepseek_v3\n平均60秒生成",CSS:""},
37
             {Version:"dpr",BuildSecond:120,Model:"doubao-deepseek-r1-250528",Content:"字节deepseek_r1\n平均120秒生成",CSS:""},
37
             {Version:"dpr",BuildSecond:120,Model:"doubao-deepseek-r1-250528",Content:"字节deepseek_r1\n平均120秒生成",CSS:""},
38
             {Version:"qwp",BuildSecond:30,Model:"ali-qwen-plus",Content:"阿里千问plus\n平均30秒生成",CSS:""},
38
             {Version:"qwp",BuildSecond:30,Model:"ali-qwen-plus",Content:"阿里千问plus\n平均30秒生成",CSS:""},
39
             {Version:"qwm",BuildSecond:45,Model:"ali-qwen-plus",Content:"阿里千问Max\n平均45秒生成",CSS:""},
39
             {Version:"qwm",BuildSecond:45,Model:"ali-qwen-plus",Content:"阿里千问Max\n平均45秒生成",CSS:""},
40
-            {Version:"lm4",BuildSecond:15,Model:"llama-4-maverick-17b-128e-instruct",Content:"阿里脸书llama4\n平均15秒生成",CSS:""},
40
+            {Version:"lm4m",BuildSecond:15,Model:"llama-4-maverick-17b-128e-instruct",Content:"阿里脸书llama4maverick\n平均15秒生成",CSS:""},
41
+            {Version:"lm4s",BuildSecond:20,Model:"llama-4-scout-17b-16e-instruct",Content:"阿里脸书llama4Scout\n平均20秒生成",CSS:""},
41
             {Version:"hytb",BuildSecond:30,Model:"tencent-hunyuan-turbos-latest",Content:"腾讯混元turbos\n平均30秒生成",CSS:""},
42
             {Version:"hytb",BuildSecond:30,Model:"tencent-hunyuan-turbos-latest",Content:"腾讯混元turbos\n平均30秒生成",CSS:""},
42
             {Version:"hyt1",BuildSecond:40,Model:"tencent-hunyuan-t1-latest",Content:"腾讯混元t1\n平均40秒生成",CSS:""},
43
             {Version:"hyt1",BuildSecond:40,Model:"tencent-hunyuan-t1-latest",Content:"腾讯混元t1\n平均40秒生成",CSS:""},
43
             {Version:"x1",BuildSecond:60,Model:"xf-yun-spark-x1",Content:"讯飞sparkX1\n平均60秒生成",CSS:""},
44
             {Version:"x1",BuildSecond:60,Model:"xf-yun-spark-x1",Content:"讯飞sparkX1\n平均60秒生成",CSS:""},