Local development. #30
Unanswered
ahmed-rezk-dev
asked this question in
03-Q&A
Replies: 1 comment 2 replies
-
|
A few clarifying questions about your local dev setup:
If the TTS audio is playing through console instead of the browser, the agent might not be connected to a LiveKit room at all - which would explain why transcriptions don't show up in the frontend. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone! I don't have any issues running the project on Docker. My problem occurs when running it on localhost, as I want to experiment with the project and potentially extend it as a full-stack JavaScript developer while learning more about Python.
In the local setup, STT (speech-to-text) works perfectly—mlx-audio transcribes speech (logs show 🗣️ STT), and the connection to http://localhost:8001 is fine. However, frontend chat messages remain empty. The agent generates and speaks responses, but these aren't published as chat messages to LiveKit. The frontend's useSessionMessages hook expects chat messages (e.g., for agent responses), but receives none.
In contrast, the full Docker setup (start-apple.sh) works because everything is containerized and integrated. In the containerized environment (docker-compose.apple.yaml), the agent might implicitly send chat messages due to unified networking/config, or additional integrations (e.g., n8n workflows) trigger chat publishing. The local development split setup lacks this integration.
Details:
Any insights or fixes would be greatly appreciated! Thanks. 😊
Beta Was this translation helpful? Give feedback.
All reactions