(deepgram sttv2): add flux-general-multi support#5486
Merged
tinalenguyen merged 2 commits intomainfrom Apr 20, 2026
Merged
Conversation
u9g
reviewed
Apr 19, 2026
u9g
reviewed
Apr 20, 2026
theomonnom
approved these changes
Apr 20, 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 Scope detected:
A follow-up PR will be opened on Generated by Claude Code |
toubatbrian
pushed a commit
to livekit/agents-js
that referenced
this pull request
Apr 20, 2026
Port of livekit/agents#5486. - Add `flux-general-multi` to Deepgram V2Models. - Add `languageHint` option on STTv2 to bias the multi-language model (ignored with a warning when used with a non-multi model). - Propagate detected languages from Deepgram responses into `SpeechData.sourceLanguages`; set the dominant detected language as the primary `language` on each transcript alternative. - Add `sourceLanguages?: LanguageCode[]` to core `SpeechData`, mirroring the Python `source_languages` field used by translation-capable and multi-language-detection STT providers.
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.
for STT services that support language detection, the languages will be stored in
source_languageswith the dominant one inlanguage. this model doesn't provide word-level language detection however, sosource_textwill remain empty