[Feature] Add precomputed custom voices and Qwen3-TTS ref-context cache (#3492)

Signed-off-by: Sy03 <1370724210@qq.com>
Signed-off-by: Yueqian Lin <linyueqian@outlook.com>
Co-authored-by: Dan250124 <416947747@qq.com>
Co-authored-by: Yueqian Lin <linyueqian@outlook.com>
Co-authored-by: Yueqian Lin <70319226+linyueqian@users.noreply.github.com>
This commit is contained in:
authored and GitHub committed 2026-05-31 17:51:24 +00:00
1 parent 57e5f0fe69
commit d4c139508f
23 files changed
+2362 -145

No files matched your search

+6
View File
@@ -77,6 +77,9 @@ class OmniPayloadMeta(TypedDict, total=False):
decode_flag: bool
codec_streaming: bool
ref_code_len: int
ref_context_size: int
ref_context_request_id: str
ref_context_included: bool
talker_prefill_offset: int
@@ -161,6 +164,9 @@ class MetaStruct(_StructBase):
decode_flag: bool | None = None
codec_streaming: bool | None = None
ref_code_len: int | None = None
ref_context_size: int | None = None
ref_context_request_id: str | None = None
ref_context_included: bool | None = None
talker_prefill_offset: int | None = None
codec_chunk_frames: int | None = None
codec_left_context_frames: int | None = None