Is anyone using realtime model agents in prod here? Ive been using chained architecture for everything for the control and was exploring realtime ones. One issue i'm facing is constant language switches in between. And generate reply methods getting cutoff in between.
Im playing around with the realtime code from docs quickstart. Are there any best practices that you guys suggest for realtime models in realworld cases
r
refined-appointment-81829
10/09/2025, 3:22 PM
Try setting an STT and TTS and see if that solve the issue even through you are using realtime.
refined-appointment-81829
10/09/2025, 4:05 PM
Also have you tried setting the language you want the agent to use?
m
many-fall-81099
10/09/2025, 4:23 PM
Was trying to figure that out..is language param there in realtime model?
r
refined-appointment-81829
10/09/2025, 8:35 PM
oh, sorry I was thinking for the pipeline. Have you specified the language in the system prompt?
m
many-fall-81099
10/10/2025, 6:18 AM
Yup, i tried adding in system prompt. But it casually switches languages..im seeing chinese and arabic primarily