Skip to content

fix: TTS auth + CSP blob audio + vLLM GPU config#555

Merged
ShaerWare merged 1 commit intomainfrom
fix/tts-auth-csp-vllm-gpu-config
Mar 6, 2026
Merged

fix: TTS auth + CSP blob audio + vLLM GPU config#555
ShaerWare merged 1 commit intomainfrom
fix/tts-auth-csp-vllm-gpu-config

Conversation

@ShaerWare
Copy link
Owner

Summary

  • TTS auth fix: Add JWT token to testVoice/testSynthesize raw fetch calls (was returning 401)
  • CSP fix: Add media-src 'self' blob: to Content-Security-Policy (browser blocked blob: audio playback)
  • vLLM GPU: Switch to GPU 1 (RTX 3060) — GPU 0 (P104-100) lacks AWQ support (compute 6.1 < 7.5)
  • vLLM port: Expose 11434:8000 for local orchestrator (non-Docker) access
  • vLLM memory: Reduce max-model-len to 2048 to coexist with 2x XTTS models on single GPU
  • GSM voice calls: New service + endpoints + UI for incoming call handling with TTS+LLM
  • stt_service: Fix import sorting (ruff)

NEWS

🔊 Голосовой тест в админке снова работает!

Исправлена проблема, из-за которой кнопки тестирования голоса
не воспроизводили звук. Теперь все 4 модели (Анна, Марина,
Дмитрий, Ирина) корректно синтезируют и воспроизводят речь
прямо в браузере.

Test plan

  • TTS test buttons play audio in admin panel (all 4 voices)
  • CSP header includes media-src 'self' blob:
  • vLLM starts on RTX 3060 (GPU 1) with AWQ model
  • Both XTTS voices (Anna + Marina) + vLLM fit in 12GB
  • GSM voice call config visible in GSM admin page

🤖 Generated with Claude Code

TTS fixes:
- Add JWT auth to testVoice/testSynthesize fetch calls (was 401)
- Add media-src 'self' blob: to CSP (browser blocked blob: audio)

Docker/GPU:
- vLLM: use GPU 1 (RTX 3060) instead of GPU 0 (P104-100, no AWQ)
- vLLM: expose port 11434:8000 for local orchestrator
- vLLM: reduce max-model-len to 2048 to fit with 2x XTTS on same GPU

GSM voice calls:
- New gsm_voice_call.py service for incoming call handling with TTS+LLM
- Voice call endpoints in telephony router
- GSM view UI for voice call config and status

Other:
- stt_service: fix import sorting
- gsm_service: minor cleanup from previous PR lint

## NEWS

🔊 **Голосовой тест в админке снова работает!**

Исправлена проблема, из-за которой кнопки тестирования голоса
не воспроизводили звук. Теперь все 4 модели (Анна, Марина,
Дмитрий, Ирина) корректно синтезируют и воспроизводят речь
прямо в браузере.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@ShaerWare ShaerWare merged commit 4ff5916 into main Mar 6, 2026
3 checks passed
@ShaerWare ShaerWare deleted the fix/tts-auth-csp-vllm-gpu-config branch March 6, 2026 18:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant