Problem
The voice feature in Happy Coder does not work for users because the ElevenLabs Conversational AI agent IDs are hardcoded to the Happy team's ElevenLabs account.
From the source code:
agentId: __DEV__ ? 'agent_7801k2c0r5hjfraa1kdbytpvs6yt' : 'agent_6701k211syvvegba4kt7m68nxjmw'
There is no way for users to provide their own ElevenLabs API key or agent ID. The voice feature appears to activate (the voice button works, "Happy here" greeting plays) but transcription never fires and the conversation loop fails.
Expected behavior
Users should be able to:
- Provide their own
ELEVENLABS_API_KEY as an environment variable
- Have Happy auto-create a voice agent in their ElevenLabs account (like HAPI does)
- Or specify a custom
ELEVENLABS_AGENT_ID
Environment
- happy-coder: v0.13.0
- Platform: Linux (Ubuntu 24.04)
- iOS app: latest from App Store
Related issues
This affects 20+ existing voice-related issues including #241, #576, #402, #410, #546, #624, #397.
Workaround
Switched to HAPI (@twsxtd/hapi) which allows users to bring their own ElevenLabs API key.
Problem
The voice feature in Happy Coder does not work for users because the ElevenLabs Conversational AI agent IDs are hardcoded to the Happy team's ElevenLabs account.
From the source code:
There is no way for users to provide their own ElevenLabs API key or agent ID. The voice feature appears to activate (the voice button works, "Happy here" greeting plays) but transcription never fires and the conversation loop fails.
Expected behavior
Users should be able to:
ELEVENLABS_API_KEYas an environment variableELEVENLABS_AGENT_IDEnvironment
Related issues
This affects 20+ existing voice-related issues including #241, #576, #402, #410, #546, #624, #397.
Workaround
Switched to HAPI (
@twsxtd/hapi) which allows users to bring their own ElevenLabs API key.