feat: enhance AudiobookCharacterResponse and AudioPlayer for compact mode support

This commit is contained in:
2026-03-13 17:14:33 +08:00
parent e024910411
commit dbfcff3476
6 changed files with 70 additions and 37 deletions

View File

@@ -59,6 +59,8 @@ class AudiobookCharacterResponse(BaseModel):
description: Optional[str] = None
instruct: Optional[str] = None
voice_design_id: Optional[int] = None
voice_design_name: Optional[str] = None
voice_design_speaker: Optional[str] = None
use_indextts2: bool = False
model_config = ConfigDict(from_attributes=True)