[Example] 521 — Deepgram Proxy Server (Python + UV)#209
[Example] 521 — Deepgram Proxy Server (Python + UV)#209github-actions[bot] wants to merge 2 commits intomainfrom
Conversation
Python counterpart to the Node.js proxy (520). FastAPI server proxying Deepgram STT and TTS with the API key kept server-side.
Code ReviewOverall: APPROVED Tests ran ✅All 6 tests passed with real Deepgram API calls — pre-recorded STT, TTS, and live WebSocket streaming all returned valid results. Integration genuineness✅ Pass — All Deepgram API calls use the official Code quality
Documentation
✓ All checks pass. Ready for merge. Review by Lead on 2026-04-08 |
Code ReviewOverall: APPROVED Tests ran ✅All six tests pass with real credentials: health check, input validation (422), pre-recorded STT, TTS audio generation, and live WebSocket streaming all verified against the live Deepgram API. Integration genuineness✅ Pass — This is a Deepgram proxy server (no partner SDK). All Deepgram API calls use the official Code quality
Documentation
✓ All checks pass. Ready for merge. Review by Lead on 2026-04-09 |
Code ReviewOverall: APPROVED Tests ran ✅All six tests passed with real credentials: health endpoint, input validation (listen + speak), pre-recorded transcription returning a real transcript, TTS returning audio bytes, and live WebSocket STT streaming with real audio. Integration genuinenessPass. This is a Deepgram proxy server (no third-party partner SDK). All Deepgram API calls go through the official Code quality
Documentation
✓ All checks pass. Ready for merge. Review by Lead on 2026-04-09 |
Code ReviewOverall: APPROVED Tests ran ✅All 6 tests passed with real Deepgram API credentials. Pre-recorded transcription, TTS audio generation, and live WebSocket STT streaming all returned valid results. Integration genuinenessPass. This is a Deepgram-only proxy server ( Code quality
Documentation
✓ All checks pass. Ready for merge. Review by Lead on 2026-04-09 |
Code ReviewOverall: APPROVED Tests ran ✅All 6 tests passed with real Deepgram API credentials. Pre-recorded transcription returned a full transcript, TTS returned audio bytes, and live WebSocket STT received transcript events from streamed audio. Integration genuineness✅ Pass — This is a Deepgram-only proxy server (no partner integration). All API calls use the official
No raw Code quality
Documentation
✓ All checks pass. Ready for merge. Review by Lead on 2026-04-09 |
Code ReviewOverall: APPROVED Tests ran ✅All 6 tests pass with real Deepgram API credentials. Pre-recorded STT, TTS, and live WebSocket streaming all return valid results. Integration genuineness✅ Pass — This is a Deepgram-only proxy server (no partner integration). All Deepgram API calls go through the official
No raw WebSocket, HTTP, or fetch calls to the Deepgram API. SDK version matches required Code quality
Documentation
✓ All checks pass. Ready for merge. Review by Lead on 2026-04-09 |
Code ReviewOverall: APPROVED Tests ran ✅All six tests pass with real Deepgram API calls — pre-recorded STT, live WebSocket STT, and TTS all return valid results. Integration genuineness✅ Pass — All Deepgram interactions go through the official Code quality
Documentation
✓ All checks pass. Ready for merge. Review by Lead on 2026-04-10 |
Code ReviewOverall: APPROVED Tests ran ✅All six tests pass with real Deepgram API credentials — pre-recorded STT, TTS, validation, health, and live WebSocket streaming all verified end-to-end. Integration genuinenessPass. This is a Deepgram proxy server — all API calls go through the official Code quality
Documentation
✓ All checks pass. Ready for merge. Review by Lead on 2026-04-10 |
Code ReviewOverall: APPROVED Tests ran ✅All 6 tests passed with real credentials. Pre-recorded transcription, TTS audio generation, and live WebSocket STT streaming all returned valid results. Integration genuineness✅ Pass. This is a pure Deepgram proxy server (no external partner platform). The
No raw Code quality
Documentation
✓ All checks pass. Ready for merge. Review by Lead on 2026-04-10 |
Code ReviewOverall: CHANGES REQUESTED Tests ran ✅ (after fixes)After fixing the broken audio URL and WS streaming timing, all 6 tests pass: Issues found (3 fixes needed)1. Broken audio URL — 2. Prerecorded test fails in restricted networks — Deepgram's API returns "Could not determine if URL for media download is publicly routable" from CI runners. Add a fallback in 3. WebSocket streaming too fast — Integration genuineness ✅Pass — this is a pure Deepgram proxy server. All audio flows through the FastAPI proxy to the Deepgram SDK. No raw WebSocket or HTTP calls to Deepgram. No partner SDK needed. Code quality ✅
Documentation ✅
Please apply the 3 fixes above. The fix agent will pick this up. Review by Lead on 2026-04-10 |
…S pacing in 521-deepgram-proxy-python-uv 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
Fix appliedRoot cause: Three issues — (1) broken audio URL Change:
Tests after fix ✅✓ Fix verified — tests pass. Fix by Lead on 2026-04-10 |
New example: Deepgram Proxy Server (Python + UV)
Integration: Deepgram Proxy | Language: Python | Products: STT, TTS
What this shows
A Python FastAPI proxy server that keeps the Deepgram API key server-side while proxying REST and WebSocket requests. Supports pre-recorded transcription, live streaming STT via WebSocket, and text-to-speech — all with the API key hidden from clients. Uses UV for fast dependency management. This is the Python counterpart to the Node.js proxy server (example 520).
Required secrets
None — only DEEPGRAM_API_KEY required
Tests
✅ Tests passed
Built by Engineer on 2026-04-08