@@ -151,6 +151,7 @@ public async Task<ActionResult<SubmitResultVO>> Imagine([FromBody] SubmitImagine
151151
152152 task . Action = TaskAction . IMAGINE ;
153153 task . Prompt = prompt ;
154+ task . PromptEn = prompt ;
154155 task . BotType = GetBotType ( imagineDTO . BotType ) ;
155156
156157 // 转换 --niji 为 Niji Bot
@@ -184,7 +185,6 @@ public async Task<ActionResult<SubmitResultVO>> Imagine([FromBody] SubmitImagine
184185 return Ok ( SubmitResultVO . Fail ( ReturnCode . VALIDATION_ERROR , "base64格式错误" ) ) ;
185186 }
186187
187- task . PromptEn = string . Empty ;
188188 task . Description = $ "/imagine { prompt } ";
189189
190190 NewTaskDoFilter ( task , imagineDTO . AccountFilter ) ;
@@ -351,6 +351,7 @@ public async Task<ActionResult<SubmitResultVO>> Shorten([FromBody] SubmitImagine
351351
352352 var prompt = dto . Prompt ;
353353 task . Prompt = prompt ;
354+ task . PromptEn = prompt ;
354355
355356 //var promptEn = TranslatePrompt(prompt, task.RealBotType ?? task.BotType);
356357 //try
@@ -364,7 +365,6 @@ public async Task<ActionResult<SubmitResultVO>> Shorten([FromBody] SubmitImagine
364365 // .SetProperty("bannedWord", e.Message));
365366 //}
366367
367- task . PromptEn = string . Empty ;
368368 task . Description = $ "/shorten { prompt } ";
369369
370370 NewTaskDoFilter ( task , dto . AccountFilter ) ;
@@ -750,7 +750,7 @@ public async Task<ActionResult<SubmitResultVO>> Modal([FromBody] SubmitModalDTO
750750 }
751751
752752 task . Prompt = prompt ;
753- task . PromptEn = string . Empty ;
753+ task . PromptEn = prompt ;
754754
755755 // 提交 modal 指示为 true
756756 task . RemixAutoSubmit = true ;
@@ -824,7 +824,7 @@ public async Task<ActionResult<SubmitResultVO>> Edits([FromBody] SubmitEditsDTO
824824 task . Action = TaskAction . EDIT ;
825825 task . Description = $ "/edit { editsDTO . Prompt } ";
826826 task . Prompt = editsDTO . Prompt ;
827- task . PromptEn = string . Empty ;
827+ task . PromptEn = editsDTO . Prompt ;
828828
829829 NewTaskDoFilter ( task , editsDTO . AccountFilter ) ;
830830
@@ -894,7 +894,7 @@ public async Task<ActionResult<SubmitResultVO>> Retexture([FromBody] SubmitEdits
894894 task . Action = TaskAction . RETEXTURE ;
895895 task . Description = $ "/retexture { editsDTO . Prompt } ";
896896 task . Prompt = editsDTO . Prompt ;
897- task . PromptEn = string . Empty ;
897+ task . PromptEn = editsDTO . Prompt ;
898898
899899 NewTaskDoFilter ( task , editsDTO . AccountFilter ) ;
900900
0 commit comments