添加私聊特殊planner

This commit is contained in:
SengokuCola
2025-09-16 14:46:31 +08:00
parent f89c5521dc
commit 755ceba0a4
6 changed files with 550 additions and 61 deletions

View File

@@ -317,9 +317,6 @@ class ActionPlanner:
# 构建聊天上下文描述
chat_context_description = "你现在正在一个群聊中"
if not is_group_chat and chat_target_info:
chat_target_name = chat_target_info.person_name or chat_target_info.user_nickname or "对方"
chat_context_description = f"你正在和 {chat_target_name} 私聊"
# 构建动作选项块
action_options_block = await self._build_action_options_block(current_available_actions)