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

This commit is contained in:
github-actions[bot]
2025-04-23 16:12:44 +00:00
parent 9967843740
commit 30fde099b6
3 changed files with 12 additions and 12 deletions

View File

@@ -249,6 +249,7 @@ class BackgroundTaskManager:
async def _perform_random_deactivation_work(self): async def _perform_random_deactivation_work(self):
"""执行一轮子心流随机停用检查。""" """执行一轮子心流随机停用检查。"""
await self.subheartflow_manager.randomly_deactivate_subflows() await self.subheartflow_manager.randomly_deactivate_subflows()
# --- 结束新增 --- # --- 结束新增 ---
# --- Specific Task Runners --- # # --- Specific Task Runners --- #

View File

@@ -406,7 +406,6 @@ class HeartFChatting:
if cycle_duration > 0.1: if cycle_duration > 0.1:
logger.debug(f"{log_prefix} HeartFChatting: 周期耗时 {cycle_duration:.2f}s.") logger.debug(f"{log_prefix} HeartFChatting: 周期耗时 {cycle_duration:.2f}s.")
# --- Delay --- # # --- Delay --- #
try: try:
sleep_duration = 0.0 sleep_duration = 0.0