fixie-ai / voice-demo

Fixie Voice demo application.
https://ai-jsx-voice.vercel.app
MIT License
3 stars 2 forks source link

Migrate to use the Fixie Voice SDK. #2

Closed mdwelsh closed 10 months ago

mdwelsh commented 10 months ago

This PR updates app/agent/page.tsx to use the Fixie VoiceSession API instead of the hand-rolled stuff currently in there.

To make this work, I had to adjust the initialization logic to more closely match what we do in HiSanta, since we've changed how the startup is done.

I made the start/stop button the only way to toggle the states, rather than tapping anywhere, just to simplify the code a bit.

Happy to change this up. Thinking it might make sense to do some tweaks to the UI so it's a more useful debugging tool without needing keyboard shortcuts and URL path editing.

vercel[bot] commented 10 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
fixie-voice-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 13, 2024 0:15am
mdwelsh commented 10 months ago

Justin is going to do this another way