From 22bce5c9c5a7ca34ec5f54f44f2e4b7efc34c4e8 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 14 May 2025 15:46:36 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=96=20=E8=87=AA=E5=8A=A8=E6=A0=BC?= =?UTF-8?q?=E5=BC=8F=E5=8C=96=E4=BB=A3=E7=A0=81=20[skip=20ci]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/experimental/Legacy_HFC/heart_flow/sub_mind.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/experimental/Legacy_HFC/heart_flow/sub_mind.py b/src/experimental/Legacy_HFC/heart_flow/sub_mind.py index 16d8c644..38636a47 100644 --- a/src/experimental/Legacy_HFC/heart_flow/sub_mind.py +++ b/src/experimental/Legacy_HFC/heart_flow/sub_mind.py @@ -309,7 +309,7 @@ class SubMind: # 获取当前正在做的一件事情,不包含时间信息,以保持简洁 # 你可以根据需要调整 num 和 time_info 参数 current_schedule_info = bot_schedule.get_current_num_task(num=1, time_info=False) - if not current_schedule_info: # 如果日程为空,给一个默认提示 + if not current_schedule_info: # 如果日程为空,给一个默认提示 current_schedule_info = "当前没有什么特别的安排。" except Exception as e: logger.error(f"{self.log_prefix} 获取日程信息时出错: {e}") @@ -612,7 +612,7 @@ class SubMind: last_loop_prompt=last_loop_prompt, cycle_info_block=cycle_info_block, nickname_info=nickname_injection_str, - schedule_info=current_schedule_info, + schedule_info=current_schedule_info, # chat_target_name is not used in group prompt ) else: # Private chat @@ -629,7 +629,7 @@ class SubMind: hf_do_next=hf_do_next, last_loop_prompt=last_loop_prompt, cycle_info_block=cycle_info_block, - schedule_info=current_schedule_info, + schedule_info=current_schedule_info, ) # --- End choosing template ---