This commit is contained in:
2026-02-02 15:28:00 +08:00
parent ea9c40f64f
commit 0ac9030f80
3 changed files with 16 additions and 2 deletions

View File

@@ -546,6 +546,10 @@ static NSString * const KBChatSessionDidResetNotification = @"KBChatSessionDidRe
if (self.persona && self.persona.personaId == companionId) {
NSLog(@"[KBPersonaChatCell] 收到聊天重置通知companionId=%ld, 清空聊天记录", (long)companionId);
self.shouldAutoPlayPrologueAudio = NO;
self.hasPlayedPrologueAudio = NO;
[self.chatView stopPlayingAudio];
//
self.messages = [NSMutableArray array];
self.hasLoadedData = NO;