fix:修复问题

This commit is contained in:
SengokuCola
2025-07-24 22:30:27 +08:00
parent 16b125b815
commit db896299be
6 changed files with 18 additions and 10 deletions

View File

@@ -279,10 +279,11 @@ class ActionPlanner:
self.last_obs_time_mark = time.time()
if mode == ChatMode.FOCUS:
if global_config.normal_chat.mentioned_bot_inevitable_reply:
mentioned_bonus = "有人提到你"
if global_config.normal_chat.at_bot_inevitable_reply:
mentioned_bonus = "有人提到你或者at你"
mentioned_bonus = ""
if global_config.chat.mentioned_bot_inevitable_reply:
mentioned_bonus = "\n- 有人提到你"
if global_config.chat.at_bot_inevitable_reply:
mentioned_bonus = "\n- 有人提到你或者at你"
by_what = "聊天内容"
@@ -294,8 +295,7 @@ class ActionPlanner:
动作reply
动作描述:参与聊天回复,发送文本进行表达
- 你想要闲聊或者随便附和
- {mentioned_bonus}
- 你想要闲聊或者随便附和{mentioned_bonus}
- 如果你刚刚进行了回复,不要对同一个话题重复回应
{{
"action": "reply",