feat(pheby): add authenticated GPT-Live voice setup
Use Hermes to exchange WebRTC offers for the connector profile. Keep cancellation acknowledgments private and guard replacement runs against stale delivery.
This commit is contained in:
@@ -144,6 +144,7 @@ pheby.example.com {
|
||||
# WebSocket + API
|
||||
reverse_proxy /ws 127.0.0.1:8620
|
||||
reverse_proxy /attachments/* 127.0.0.1:8620
|
||||
reverse_proxy /voice-live/* 127.0.0.1:8620
|
||||
reverse_proxy /health 127.0.0.1:8620
|
||||
|
||||
# Optionally restrict by source when on a public VPS:
|
||||
@@ -210,6 +211,15 @@ Notes:
|
||||
|
||||
---
|
||||
|
||||
## GPT-Live Voice Mode
|
||||
|
||||
Voice Mode uses the installed Hermes `tools.voice_live` helper for the same
|
||||
gateway profile that owns Pheby. Configure an OpenAI key for that profile
|
||||
(`OPENAI_API_KEY` or `voice.gpt_live.api_key`). The connector authenticates
|
||||
call setup with the Pheby secret and gives the app an SDP answer. Android
|
||||
exchanges audio with OpenAI over WebRTC and submits delegated turns through
|
||||
the existing chat connection.
|
||||
|
||||
## Debugging & logging
|
||||
|
||||
Set `PHEBY_DEBUG=true` (env) or `extra.debug: true` (YAML) for verbose
|
||||
|
||||
Reference in New Issue
Block a user