chengjie 4 months ago
parent
commit
fa0d7dddf3
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/api/yjbdc/yjbdcController.js

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

@@ -246,13 +246,13 @@ export async function GenerateArticle(ctx) {
246 246
             }
247 247
             else if (params.AIVersion=="1.5"){
248 248
                 aiProvider = 'llama-4-maverick-17b-128e-instruct';
249
-                if (params.UserID==185)
249
+                if (ctx.query.UserID==185 || ctx.query.UserID==1)
250 250
                     aiProvider="doubao-deepseek-r1-250528";
251 251
             }
252 252
 
253 253
 
254 254
             if (aiProvider.indexOf("llama")>=0)
255
-                content=content.replace("[补充1]","如果生成的JSON中有ArticleEnglishCorrected和ArticleChineseCorrected,直接覆盖原有的ArticleEnglish和ArticleChinese,不要再生成。");
255
+                content=content.replace("[补充1]","如果生成的JSON中有ArticleEnglishCorrected和ArticleChineseCorrected,直接覆盖原有的ArticleEnglish和ArticleChinese,不要再生成。");
256 256
             else
257 257
                 content=content.replace("[补充1]","");
258 258