Merge pull request #4401 from pipecat-ai/mb/grok-realtime-model

fix(xai/realtime): pass model as query param on connect
This commit is contained in:
Mark Backman
2026-05-04 09:44:33 -04:00
committed by GitHub
3 changed files with 10 additions and 2 deletions

View File

@@ -0,0 +1 @@
- Changed the default model for `GrokRealtimeLLMService` to `grok-voice-think-fast-1.0`, xAI's recommended Voice Agent model. The previous default of `grok-voice-fast-1.0` has been deprecated by xAI and is being removed.

1
changelog/4401.fixed.md Normal file
View File

@@ -0,0 +1 @@
- Fixed `GrokRealtimeLLMService` ignoring the configured model. The model was stored in `Settings` but never sent to xAI, so every session silently fell back to xAI's server-side default. The model is now passed via the `?model=` query parameter on the WebSocket URL as xAI's Voice Agent API requires.