config:增加两个配置项,梦起始时间和全局记忆

This commit is contained in:
SengokuCola
2025-12-04 19:59:57 +08:00
parent 79b4886326
commit 0399f878f0
10 changed files with 89 additions and 17 deletions

View File

@@ -256,7 +256,7 @@ class DefaultReplyer:
logger.debug(f"使用处理器选中的{len(selected_expressions)}个表达方式")
for expr in selected_expressions:
if isinstance(expr, dict) and "situation" in expr and "style" in expr:
style_habits.append(f"{expr['situation']},使用 {expr['style']}")
style_habits.append(f"{expr['situation']}{expr['style']}")
else:
logger.debug("没有从处理器获得表达方式,将使用空的表达方式")
# 不再在replyer中进行随机选择全部交给处理器处理