- 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. |
||
|---|---|---|
| .. | ||
| api | ||
| cache | ||
| analytics.ts | ||
| auth-client.ts | ||
| dexie.ts | ||
| epub.ts | ||
| pdf-highlight-worker.ts | ||
| pdf.ts | ||
| sha256.ts | ||