xiaozhi-esp32-server/main/xiaozhi-server/child_agent/schemas.py
1530644839-rgb d7e8ed5c77 feat: document Mac server deployment and add child text dialogue
Record validated FunASR, EdgeTTS, WebSocket and incomplete LLM results; fix provider benchmark false positives; add a bounded child dialogue service using existing LLM adapters and no-key mock tests.
2026-10-10 11:12:43 +08:00

18 lines
338 B
Python

"""Public result types for child dialogue."""
from dataclasses import dataclass
from enum import Enum
class ReplyStatus(str, Enum):
OK = "ok"
EMPTY_INPUT = "empty_input"
TIMEOUT = "timeout"
API_ERROR = "api_error"
@dataclass(frozen=True)
class DialogueReply:
session_id: str
text: str
status: ReplyStatus