[Bugfix][MiniCPM-o] Checkpoint playback before final input commit (#6821)

Signed-off-by: Gao Han <hgaoaf@connect.ust.hk>
This commit is contained in:
Gao Han authored and GitHub committed 2026-08-31 15:18:29 +00:00
1 parent b81aeb7b86
commit 705e781b0e
7 files changed
+334 -29

No files matched your search

@@ -1261,6 +1261,7 @@ class DuplexSessionRunnerMixin:
session.truncate_history_item(
item_id,
audio_end_ms=int(audio_end_ms) if isinstance(audio_end_ms, int | float) else 0,
hard=True,
)
if isinstance(item_id, str)
else False