Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/xai-tts-pooling.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@livekit/agents-plugin-xai": patch
---

Add xAI TTS with pooled WebSocket connections.
1 change: 1 addition & 0 deletions plugins/xai/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { Plugin } from '@livekit/agents';

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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔍 Two conflicting GrokVoices types exported from the same package

The package now exports two different GrokVoices types: one from tts.ts (capitalized: 'Ara' | 'Eve' | ...) at the top level, and one from realtime/realtime_model.ts (lowercase: 'eve' | 'ara' | ...) under the realtime namespace. While they don't technically conflict (different export paths), users importing both would encounter confusing type differences for the same concept. This should be unified.

Open in Devin Review

Was this helpful? React with 👍 or 👎 to provide feedback.


class XAIPlugin extends Plugin {
constructor() {
Expand Down
Loading
Loading