mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-27 04:49:47 +01:00
客户端连接成功时不主动发送hello
This commit is contained in:
parent
04b132816c
commit
22e9e4c352
1 changed files with 1 additions and 1 deletions
|
|
@ -193,7 +193,7 @@ class ConnectionHandler:
|
||||||
|
|
||||||
self.welcome_msg = self.config["xiaozhi"]
|
self.welcome_msg = self.config["xiaozhi"]
|
||||||
self.welcome_msg["session_id"] = self.session_id
|
self.welcome_msg["session_id"] = self.session_id
|
||||||
await self.websocket.send(json.dumps(self.welcome_msg))
|
self.logger.bind(tag=TAG).info(f"客户端 {self.device_id} 连接成功")
|
||||||
|
|
||||||
# 获取差异化配置
|
# 获取差异化配置
|
||||||
self._initialize_private_config()
|
self._initialize_private_config()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue