fix: TTS logs in Logs tab + TTS generate buffer fix + Russian voice hint + v0.8.2
## Fixes ### 1. TTS logs in Logs tab Added 'tts' to the logs target selector in the Logs tab. Now you can stream docker logs from the TTS container. ### 2. TTS generate fetch failed Changed /api/tts/generate from streaming res.body directly to res.arrayBuffer() first, then returning the buffer. Next.js sometimes cuts off streaming responses from server-side fetch — buffering avoids this. Also improved error messages: - ECONNREFUSED / fetch failed → 'TTS container is not running...' - ENOTFOUND → 'TTS container not found on Docker network...' ### 3. Russian voice accent Built-in voices (alloy, nova, shimmer) are English-trained and will speak Russian with an accent. Added a prominent hint in the TTS tab explaining that for natural Russian, you need to upload a custom WAV sample of a Russian speaker. ## Version → 0.8.2
This commit is contained in:
@@ -120,7 +120,7 @@ export async function GET() {
|
||||
ok: envError === null,
|
||||
error: envError,
|
||||
},
|
||||
version: "0.8.1",
|
||||
version: "0.8.2",
|
||||
timestamp: new Date().toISOString(),
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user