feat(chat): refactor logging and integrate no_reply system action

将日志前缀管理集中到context,新增willing_manager依赖,并把no_reply提升为系统级可用动作

- CycleProcessor 统一改从 context 获取 log_prefix
- HeartFChatting 引入 willing_manager
- ResponseHandler _send_response -> send_response 去下划线统一对外接口
- ActionPlanner 将 no_reply 添加至 current_available_actions
This commit is contained in:
Windpicker-owo
2025-09-01 22:41:42 +08:00
parent f7ed3bbb6c
commit 255e3627b4
4 changed files with 25 additions and 11 deletions

View File

@@ -64,7 +64,7 @@ class ResponseHandler:
- 构建并返回完整的循环信息
- 用于上级方法的状态跟踪
"""
reply_text = await self._send_response(response_set, reply_to_str, loop_start_time, action_message)
reply_text = await self.send_response(response_set, reply_to_str, loop_start_time, action_message)
person_info_manager = get_person_info_manager()
@@ -105,7 +105,7 @@ class ResponseHandler:
return loop_info, reply_text, cycle_timers
async def _send_response(self, reply_set, reply_to, thinking_start_time, message_data) -> str:
async def send_response(self, reply_set, reply_to, thinking_start_time, message_data) -> str:
"""
发送回复内容的具体实现