Skip to content

Commit 3312e3b

Browse files
committed
fix(xai): keep default voice as 'ara'
Voice names are lowercase per xAI's docs, so align the default with the existing behavior (Ara) rather than switching it to eve. Ref: https://docs.x.ai/developers/model-capabilities/audio/voice-agent#available-voices
1 parent 87a5564 commit 3312e3b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.changeset/xai-update-grok-voices.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
'@livekit/agents-plugin-xai': patch
33
---
44

5-
update Grok realtime voices to match xAI API (eve, ara, rex, sal, leo) and change default to `eve`
5+
update Grok realtime voices to match xAI API (eve, ara, rex, sal, leo); default voice is now lowercase `ara`

plugins/xai/src/realtime/realtime_model.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ type OpenAIRealtimeModelOptions = ConstructorParameters<typeof OpenAIRealtimeMod
88

99
const XAI_BASE_URL = 'wss://api.x.ai/v1';
1010
const DEFAULT_MODEL = 'grok-4-1-fast-non-reasoning';
11-
const DEFAULT_VOICE = 'eve';
11+
const DEFAULT_VOICE = 'ara';
1212

1313
const XAI_DEFAULT_TURN_DETECTION = {
1414
type: 'server_vad' as const,

0 commit comments

Comments
 (0)