Merge branch 'refs/heads/main' into perf-tool-call-optimization

This commit is contained in:
DaGou12138
2026-04-27 14:23:28 +08:00
27 changed files with 490 additions and 342 deletions
-6
View File
@@ -116,8 +116,6 @@ class ConnectionHandler:
self.memory = _memory
self.intent = _intent
self.is_exiting = False # 标记是否正在执行退出流程
# 为每个连接单独管理声纹识别
self.voiceprint_provider = None
@@ -312,10 +310,6 @@ class ConnectionHandler:
async def _route_message(self, message):
"""消息路由"""
# 退出状态丢弃所有消息
if self.is_exiting:
return
# 检查是否已经获取到真实的绑定状态
if not self.bind_completed_event.is_set():
# 还没有获取到真实状态,等待直到获取到真实状态或超时