Two ways to yield
Write the LiveKit sentence: the agent can yield when the user starts speaking mid-response.
Write the xAI sample field: turn_detection.type is server_vad.
Write the xAI field that drops caller audio: item.interruptible false.
Label each line with the page it came from.
Sources and go deeper
- LiveKit Agents, Turns overview vendor last checked 2026-10
- Speech to Speech, docs.x.ai vendor The page title is Speech to Speech. The body names the Grok Speech to Speech API and also calls the site SpaceXSI Docs. last checked 2026-10