修复一些已知问题

This commit is contained in:
Kevin
2026-03-20 17:25:42 +08:00
parent 8af37e5e8e
commit 70070216c4
16 changed files with 350 additions and 74 deletions

View File

@@ -0,0 +1,14 @@
"""一轮 AI 对话输出:分段文案 + 是否整轮跳过 TTS如失败兜底"""
from __future__ import annotations
from dataclasses import dataclass
from typing import List
@dataclass(frozen=True)
class AgentChatTurn:
"""与 WebSocket pipeline 对齐messages 为气泡分段skip_tts 为 True 时不合成语音。"""
messages: List[str]
skip_tts: bool = False