- Removed unused imports and types from TTS route. - Consolidated TTS buffer generation logic into a new module. - Implemented caching for TTS audio buffers using LRU cache. - Updated TTS request handling to support instructions for specific models. - Refactored audiobook chapter creation to use new TTS generation logic. - Simplified error handling and response management in TTS API. - Enhanced client-side logic to manage TTS requests and retries. - Updated types to reflect changes in TTS request payload structure. |
||
|---|---|---|
| .. | ||
| client.ts | ||
| config.ts | ||
| documents.ts | ||
| tts.ts | ||
| user-state.ts | ||