diff --git a/frontend/src/components/assistant-editor/debug-preview.tsx b/frontend/src/components/assistant-editor/debug-preview.tsx index 0c72f0e..395aec5 100644 --- a/frontend/src/components/assistant-editor/debug-preview.tsx +++ b/frontend/src/components/assistant-editor/debug-preview.tsx @@ -775,6 +775,7 @@ function DebugVoicePanel({ const [inputMode, setInputMode] = useState("mic"); const [clientDialogContainer, setClientDialogContainer] = useState(null); + const [messageDialogOpen, setMessageDialogOpen] = useState(false); const inChatView = view === "chat" && (!SHOW_VOICE_VIZ || showTranscript); const idleOrFailed = status === "idle" || status === "failed"; const showIdleHub = @@ -812,17 +813,27 @@ function DebugVoicePanel({ ]); return ( -
+
{/* 后端 TTS 音频经 WebRTC 媒体流过来,挂这里播放 */}