feat(inference): STT diarization capabilities and speaker_id on TimedString, add xAI TTS support for inference#5438
Merged
russellmartin-livekit merged 8 commits intomainfrom Apr 16, 2026
Conversation
…String Restore inference STT speaker_id passthrough, TimedString.speaker_id, and diarization capability detection from extra_kwargs (diarize / speaker_labels), with tests.
…tion capabilities
…g. Added detailed attributes to TimedString class and refactored diarization capability checks in STT to streamline provider-specific handling. Updated tests to verify new functionality.
…' attribute for Inverse Text Normalization in STT.
…ins-runway to the project. Update dependencies and extras in uv.lock to include new plugins and their requirements.
theomonnom
approved these changes
Apr 16, 2026
Contributor
|
👋 This is an automated Claude Code Routine created by @toubatbrian. Right now it is in experimentation stage. The automation will start porting this PR into agents-js automatically. What will be ported:
What will NOT be ported (Python-specific):
Generated by Claude Code |
toubatbrian
pushed a commit
to livekit/agents-js
that referenced
this pull request
Apr 16, 2026
Port of livekit/agents#5438 — adds STT diarization capability detection and speaker_id passthrough from the Python agents framework. https://claude.ai/code/session_01VtE2b4qcjcN21cvDhsdcFo
6 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Restore inference STT speaker_id passthrough, TimedString.speaker_id, and diarization capability detection from extra_kwargs (diarize / speaker_labels), with tests.
The other PR was corrupted by my git fiddling
#5283