[Refactor] TTS serving adapter framework + migrate TTS models (excl. ming_flash_omni) (#4330)

Signed-off-by: Yueqian Lin <linyueqian@outlook.com>
This commit is contained in:
Yueqian Lin authored and GitHub committed 2026-06-13 04:22:54 +00:00
1 parent 6506ed3d4d
commit d75a6433b4
20 files changed
+1045 -208

No files matched your search

+4
View File
@@ -762,6 +762,10 @@ class OmniResponse:
prompt_tokens: int | None = None
cached_tokens: int | None = None
logprobs: list | None = None
#: HTTP status + error text for the error-handling path (e.g. validator
#: rejections); populated when the OpenAI client raises an APIError.
status_code: int | None = None
error_message: str | None = None
@dataclass