Commit 159e67f
fix(tts_say): read tts_model from config (was kokoro_model) + WAV format
Bug: skill was reading config key "kokoro_model" but ~/.codec/config.json
stores it under "tts_model". Fell back to literal string "kokoro" which
mlx-audio rejects with HTTP 500, silently degrading to macOS `say` voice
on every MCP tts_say invocation.
Fix:
- Read tts_model first, fall back to legacy kokoro_model, then sane default
- Request response_format: wav explicitly
- Save tempfile with .wav extension (mlx-audio returns PCM WAV at 24kHz)
- Bump timeout 20s -> 30s for first-token latency on cold model
Verified: Kokoro TTS now plays real Kokoro voice (bm_george/am_adam/af_bella)
on both direct CLI test and MCP invocation from claude.ai.
Also fixed during same sweep (n8n, not in repo):
- Daily Report.MF workflow had YOUR_LOCAL_IP placeholder -> 192.168.1.73
- Lucy QWEN 5.1/5.2 workflows pointed doc-extract at kokoro port -> 8086
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 32a0716 commit 159e67f
1 file changed
+10
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
54 | 55 | | |
55 | 56 | | |
56 | 57 | | |
57 | | - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
58 | 64 | | |
59 | | - | |
| 65 | + | |
60 | 66 | | |
61 | 67 | | |
62 | 68 | | |
63 | 69 | | |
64 | 70 | | |
65 | 71 | | |
66 | | - | |
| 72 | + | |
67 | 73 | | |
68 | 74 | | |
69 | 75 | | |
| |||
0 commit comments