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:
Z User
2026-10-29 21:42:08 +00:00
parent 5161de152a
commit dca0fcc59f
4 changed files with 31 additions and 10 deletions

View File

@@ -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(),
});
}