From 220e4fab27b7f419b3e89e2f2d28ae789aac09d7 Mon Sep 17 00:00:00 2001
From: wangzhibo <wangzhibo@shsening.com>
Date: 星期四, 08 十月 2026 16:29:55 +0800
Subject: [PATCH] 5种场景模式家长端ok
---
xiaozhi-esp32-server/main/xiaozhi-server/core/providers/asr/base.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/xiaozhi-esp32-server/main/xiaozhi-server/core/providers/asr/base.py b/xiaozhi-esp32-server/main/xiaozhi-server/core/providers/asr/base.py
index 32c79b4..d558dfb 100644
--- a/xiaozhi-esp32-server/main/xiaozhi-server/core/providers/asr/base.py
+++ b/xiaozhi-esp32-server/main/xiaozhi-server/core/providers/asr/base.py
@@ -192,7 +192,7 @@
try:
from core.audio_archive import archive_pcm_snapshot
- archive_pcm_snapshot(conn, audio_snapshot)
+ archive_pcm_snapshot(conn, audio_snapshot, text=raw_text or enhanced_text)
except Exception:
pass
enqueue_asr_report(conn, enhanced_text, audio_snapshot)
--
Gitblit v1.9.1