lively-coat-10905
10/24/2025, 12:40 PMtall-airline-16756
10/24/2025, 12:40 PMtall-airline-16756
10/24/2025, 12:40 PMlively-coat-10905
10/24/2025, 12:41 PMtall-airline-16756
10/24/2025, 12:42 PMpip install livekit-plugins-google.
• Double-check that your Google Cloud credentials are properly set up. Using the GOOGLE_APPLICATION_CREDENTIALS environment variable to point to your service account JSON key file usually does the trick.
• Don’t forget to enable the key Google Cloud APIs in your project: the Cloud Speech-to-Text API and the Cloud Text-to-Speech API.
• Take a look at your AgentSession configuration to ensure it supports real-time audio streaming. Features like turn detection, interruption handling, and low-latency optimizations are really helpful here.
• For the STT setup, make sure you’re using the right model (such as latest_long) and have enabled options like interim results and word time offsets to get real-time feedback.
• When it comes to the LLM, check that the Google Gemini model is properly initialized and that your environment variables include all necessary API keys or credentials.
• Finally, for TTS, confirm that the Google Text-to-Speech plugin is correctly set up and smoothly integrated into your pipeline.
If you run into any specific issues or errors while running your code, please don’t hesitate to share the details with me. I’m here to help you through it!
Sources: Google AI and LiveKit | LiveKit Docs | pipeline-stt/keyword-detection/README.md | Pipeline nodes and hooks | LiveKit Docs | Google Cloud TTS integration guide | LiveKit Docs | livekit-plugins/livekit-plugins-google/livekit/plugins/google/realtime/real...lively-coat-10905
10/24/2025, 12:46 PMtall-airline-16756
10/24/2025, 12:47 PMGOOGLE_APPLICATION_CREDENTIALS environment variable to point to your service account JSON key file.
2. Double-check that your service account has the right permissions to access the Google Gemini LLM API. Specifically, the role Generative Language API User needs to be assigned to your service account in your Google Cloud project.
3. Confirm that the Google Gemini LLM API is enabled in your Google Cloud project.
4. If you’re currently using an API key, please note that this API doesn’t support API keys. Switching to OAuth2 credentials as described above will help you move forward.
Once you’ve made these updates, try restarting your application and give it another go. If you run into any other issues or have questions, feel free to reach out—I’m here to help!
Sources: plugins/test/CHANGELOG.md