From 1a6d9d7490a3a862b9e30335037cd3909b7d56ce Mon Sep 17 00:00:00 2001 From: rainv123 <2148537152@qq.com> Date: Tue, 24 Mar 2026 09:49:57 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=99=BA=E8=83=BD?= =?UTF-8?q?=E4=BD=93=E9=85=8D=E7=BD=AE=E5=8F=98=E6=9B=B4=E6=97=B6=E9=94=99?= =?UTF-8?q?=E8=AF=AF=E5=88=A0=E9=99=A4=E5=8E=86=E5=8F=B2=E9=9F=B3=E9=A2=91?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../xiaozhi/modules/agent/service/impl/AgentServiceImpl.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/main/manager-api/src/main/java/xiaozhi/modules/agent/service/impl/AgentServiceImpl.java b/main/manager-api/src/main/java/xiaozhi/modules/agent/service/impl/AgentServiceImpl.java index 22029ec5..746330ca 100644 --- a/main/manager-api/src/main/java/xiaozhi/modules/agent/service/impl/AgentServiceImpl.java +++ b/main/manager-api/src/main/java/xiaozhi/modules/agent/service/impl/AgentServiceImpl.java @@ -410,9 +410,6 @@ public class AgentServiceImpl extends BaseServiceImpl imp // 删除所有记录 agentChatHistoryService.deleteByAgentId(existingEntity.getId(), true, true); existingEntity.setSummaryMemory(""); - } else if (existingEntity.getChatHistoryConf() != null && existingEntity.getChatHistoryConf() == 1) { - // 删除音频数据 - agentChatHistoryService.deleteByAgentId(existingEntity.getId(), true, false); } // 更新上下文源配置