feat: Replace custom voice pipeline with ElevenLabs Conversational AI#6
Merged
amethystani merged 1 commit intomainfrom Mar 9, 2026
Merged
feat: Replace custom voice pipeline with ElevenLabs Conversational AI#6amethystani merged 1 commit intomainfrom
amethystani merged 1 commit intomainfrom
Conversation
…nal AI Eliminates 2-6 second voice agent latency by switching from a custom 3-hop pipeline (Browser Speech Recognition -> Groq LLM -> TTS Service) to ElevenLabs Conversational AI which handles STT + LLM + TTS in a single real-time WebSocket connection with sub-second response times. - Install @elevenlabs/react SDK (replaces deprecated @11labs/client) - Rewrite UserPhoneInterface to use useConversation hook - Remove custom speech recognition, AI service, and TTS service calls - Keep existing UI (call controls, visual feedback, transcript display) - Signed URL flow via existing Netlify function stays unchanged Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
✅ Deploy Preview for gonnaai ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
@elevenlabs/reactSDK'suseConversationhook which handles STT + LLM + TTS in a single real-time WebSocket connection with sub-second response timesWhat changed
@elevenlabs/react(v0.14.1), replacing the deprecated@11labs/client(v0.0.4)UserPhoneInterface.tsxto useuseConversationhook instead of the manual STT → LLM → TTS pipeline/api/elevenlabs-signed-url) for secure API key handlingBefore vs After
Test plan
🤖 Generated with Claude Code