Hello! My issue is that the prompt/custom instruc...
# agents
r
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
q
can you upgrade the version to 1.3.10, I can see a commit there that potentitally fix this issue
👍 1
r
No, that also didn't work, do u know anyone who has gotten this working? Maybe I'm just doing something wrong?