🤖 自动格式化代码 [skip ci]

This commit is contained in:
github-actions[bot]
2025-06-21 08:00:21 +00:00
parent 0f5fdc2ae5
commit e93c387d92
3 changed files with 25 additions and 26 deletions

View File

@@ -142,7 +142,7 @@ class NoReplyAction(BaseAction):
# 增加连续计数
NoReplyAction._consecutive_count += 1
count = NoReplyAction._consecutive_count
reason = self.action_data.get("reason", "")
# 计算本次等待时间
@@ -155,7 +155,9 @@ class NoReplyAction(BaseAction):
# 第4次及以后使用WAITING_TIME_THRESHOLD
timeout = self.waiting_timeout
logger.info(f"{self.log_prefix} 选择不回复(第{count}次连续),等待新消息中... (超时: {timeout}秒),原因: {reason}")
logger.info(
f"{self.log_prefix} 选择不回复(第{count}次连续),等待新消息中... (超时: {timeout}秒),原因: {reason}"
)
# 等待新消息或达到时间上限
result = await self.wait_for_new_message(timeout)