mirror of
https://gitcode.com/JianFeeeee/TrulyMEM-TrueHumanMEM.git
synced 2026-09-20 17:08:18 +00:00
fix: 简化清空逻辑 - 空消息列表即清空
This commit is contained in:
@ -78,7 +78,7 @@ class BackendClient:
|
||||
packet = Packet(
|
||||
id=self._next_id(),
|
||||
type=PacketType.SAVE_HISTORY,
|
||||
body={"messages": [{"action": "clear"}]}
|
||||
body={"messages": []}
|
||||
)
|
||||
return self._server.send(packet).body
|
||||
|
||||
|
||||
Reference in New Issue
Block a user