Hello!
My issue is that the prompt/custom instructions not working with xai.realtime.RealtimeModel (Grok Voice API)
I'm trying to pass system instructions to xAI's RealtimeModel but the agent ignores them and uses xAI's default personality instead.
What I've tried:
• Passing instructions via Agent class (standard pattern) - ignored
• Passing to RealtimeModel(instructions=...) - throws TypeError: unexpected keyword argument
• Using model.update_options(instructions=...) after session starts
How do I set custom instructions for xAI RealtimeModel? Works fine with OpenAI and Google plugins.
Versions:
livekit-agents 1.3.9, livekit-plugins-xai 1.3.9