better:可选是否加入reaon到replyer

This commit is contained in:
SengokuCola
2025-11-16 13:00:14 +08:00
parent 68916d1fcb
commit e9cd9c0bff
6 changed files with 20 additions and 14 deletions

View File

@@ -768,7 +768,7 @@ class PrivateReplyer:
# 从 chosen_actions 中提取 planner 的整体思考理由
planner_reasoning = ""
if reply_reason:
if global_config.chat.include_planner_reasoning and reply_reason:
# 如果没有 chosen_actions使用 reply_reason 作为备选
planner_reasoning = f"你的想法是:{reply_reason}"