确保正常传参

pull/937/head
Plutor-05 2025-05-09 13:23:20 +08:00
parent e8a59291a0
commit f9f3d6e89f
1 changed files with 2 additions and 2 deletions

View File

@ -492,12 +492,12 @@ class IdleChat:
else:
schedule_prompt = ""
# 构建提示词
# 构建提示词,暂存废弃部分这是你的日程{schedule_prompt}
current_time = datetime.now().strftime("%H:%M")
prompt = f"""你是{global_config.BOT_NICKNAME}
你正在与用户{self.private_name}进行QQ私聊你们的关系是{relationship_description}
现在时间{current_time}
这是你的日程{schedule_prompt}
你想要主动发起对话
请基于以下之前的对话历史生成一条自然友好符合关系程度的主动对话消息
这条消息应能够引起用户的兴趣重新开始对话