Join Slack
Powered by
How do we set or change agent language properly du...
# agents
g
gorgeous-gpu-30432
08/20/2025, 4:46 PM
How do we set or change agent language properly during a session? We are using realtime gemini 2.5 flash preview as our pipeline core agent (as tts as well)
r
refined-appointment-81829
08/20/2025, 11:54 PM
I've not really tried Gemini but here is an examaple for Eleven Labs. Maybe that will help in some way.
https://github.com/livekit-examples/python-agents-examples/blob/main/pipeline-tts/elevenlabs_change_language.py
google tts
https://github.com/livekit/agents/blob/main/livekit-plugins/livekit-plugins-google/livekit/plugins/google/tts.py#L151
gemini_tts.py
https://github.com/livekit/agents/blob/main/livekit-plugins/livekit-plugins-google/livekit/plugins/google/beta/gemini_tts.py#L156
refined-appointment-81829
08/20/2025, 11:56 PM
Gemini is beta so your millage may very on how usable it it.
g
gorgeous-gpu-30432
08/21/2025, 8:23 AM
As always thank you
@refined-appointment-81829
🙂
👍 1
Open in Slack
Previous
Next