根据no_reply的调整,移除不必要的代码

pull/1097/head
A0000Xz 2025-07-07 16:36:42 +08:00 committed by GitHub
parent 3a7a22cb16
commit e564e9713a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 6 deletions

View File

@ -190,12 +190,6 @@ class HeartFChatting:
if loop_info["loop_action_info"]["command"] == "stop_focus_chat":
logger.info(f"{self.log_prefix} 麦麦决定停止专注聊天")
# 如果是私聊,则不停止,而是重置疲劳度并继续
if not self.chat_stream.group_info:
logger.info(f"{self.log_prefix} 私聊模式下收到停止请求,不退出。")
continue # 继续下一次循环,而不是退出
# 如果是群聊,则执行原来的停止逻辑
# 如果设置了回调函数,则调用它
if self.on_stop_focus_chat:
try: