fix:1.修复部分提示词模板键名不匹配问题

This commit is contained in:
xiamuceer
2025-11-30 09:57:49 +08:00
parent ad6e99d868
commit ead49b7227
6 changed files with 28 additions and 9 deletions
+1 -1
View File
@@ -458,7 +458,7 @@ async def characters_generator(
batch_requirements += "\n主要是配角(supporting)和反派(antagonist)"
# 获取自定义提示词模板
template = await PromptService.get_template("CHARACTERS_BATCH", user_id, db)
template = await PromptService.get_template("CHARACTERS_BATCH_GENERATION", user_id, db)
# 构建基础提示词
base_prompt = PromptService.format_prompt(
template,