tall-autumn-57974
09/24/2025, 10:00 AMsession.on("error") hook. How can I debug this to understand and fix the problem ?tall-airline-16756
09/24/2025, 10:00 AMtall-airline-16756
09/24/2025, 10:00 AMtall-autumn-57974
09/24/2025, 10:18 AMtall-airline-16756
09/24/2025, 10:19 AMAZURE_OPENAI_API_KEY, AZURE_OPENAI_ENDPOINT, and optionally OPENAI_API_VERSION are properly configured.
• Next, try enabling detailed logging in your app. Since LiveKit uses Python’s logging module a lot, setting the logging level to DEBUG or INFO can really help you see what’s happening behind the scenes.
• It’s also a good idea to test each part separately—STT, LLM, and TTS—to pinpoint where things might be going off track. For example, check if Azure TTS and STT work well on their own before involving the bot.
• Finally, make sure your bot is connected to a room correctly and that media tracks are being published and subscribed to. Sometimes, if media isn’t flowing or the bot is waiting for someone who hasn’t joined yet, it might seem unresponsive.
If you’ve already gone through these steps or if you want some extra help, just let me know! I’m here to support you and we can explore more ways to debug this together.
Sources: Azure integration guide | LiveKit Docs | Azure AI Services and LiveKit | LiveKit Docs | Azure OpenAI STT integration guide | LiveKit Docs | livekit-plugins/livekit-plugins-openai/livekit/plugins/openai/tts.py | packages/basics/src/uninterruptable.ts