Merge pull request #3196 from xinnan-tech/py-device-calling

Py device calling
This commit is contained in:
CGD
2026-06-01 16:34:02 +08:00
committed by GitHub
61 changed files with 3127 additions and 26 deletions
+3
View File
@@ -190,6 +190,9 @@ class ConnectionHandler:
# 初始化提示词管理器
self.prompt_manager = PromptManager(self.config, self.logger)
# 初始化通话状态
self.calling = False
async def handle_connection(self, ws: websockets.ServerConnection):
try:
# 获取运行中的事件循环(必须在异步上下文中)