fix:特殊处理noreply和reply

Update heartFC_chat.py
This commit is contained in:
SengokuCola
2025-07-16 11:43:21 +08:00
parent 15e9477930
commit bafeb3f25c
3 changed files with 5 additions and 5 deletions

View File

@@ -115,7 +115,7 @@ class HeartFChatting:
logger.info(f"{self.log_prefix} HeartFChatting 初始化完成") logger.info(f"{self.log_prefix} HeartFChatting 初始化完成")
self.energy_value = 0 self.energy_value = 1
async def start(self): async def start(self):
"""检查是否需要启动主循环,如果未激活则启动。""" """检查是否需要启动主循环,如果未激活则启动。"""

View File

@@ -24,8 +24,8 @@ class NoReplyAction(BaseAction):
2. 累计新消息数量达到随机阈值 (默认5-10条) 则结束等待 2. 累计新消息数量达到随机阈值 (默认5-10条) 则结束等待
""" """
focus_activation_type = ActionActivationType.ALWAYS focus_activation_type = ActionActivationType.NEVER
normal_activation_type = ActionActivationType.ALWAYS normal_activation_type = ActionActivationType.NEVER
mode_enable = ChatMode.FOCUS mode_enable = ChatMode.FOCUS
parallel_action = False parallel_action = False

View File

@@ -36,8 +36,8 @@ class ReplyAction(BaseAction):
"""回复动作 - 参与聊天回复""" """回复动作 - 参与聊天回复"""
# 激活设置 # 激活设置
focus_activation_type = ActionActivationType.ALWAYS focus_activation_type = ActionActivationType.NEVER
normal_activation_type = ActionActivationType.ALWAYS normal_activation_type = ActionActivationType.NEVER
mode_enable = ChatMode.FOCUS mode_enable = ChatMode.FOCUS
parallel_action = False parallel_action = False