Skip to content

Commit aafe7ff

Browse files
fix(xai): expose TTS websocket options
1 parent 8a91a0b commit aafe7ff

3 files changed

Lines changed: 467 additions & 0 deletions

File tree

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@livekit/agents-plugin-xai': patch
3+
---
4+
5+
Add xAI TTS websocket support with voice, language, latency, speed, and text normalization options.

plugins/xai/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import { Plugin } from '@livekit/agents';
55

66
export * as realtime from './realtime/index.js';
77
export { STT, type STTOptions, type STTLanguages } from './stt.js';
8+
export { TTS, type GrokVoices, type TTSLanguages, type TTSOptions } from './tts.js';
89

910
class XAIPlugin extends Plugin {
1011
constructor() {

0 commit comments

Comments
 (0)