Skip to content

(deepgram sttv2): add flux-general-multi support#5486

Merged
tinalenguyen merged 2 commits intomainfrom
tina/deepgram-flux-stt
Apr 20, 2026
Merged

(deepgram sttv2): add flux-general-multi support#5486
tinalenguyen merged 2 commits intomainfrom
tina/deepgram-flux-stt

Conversation

@tinalenguyen
Copy link
Copy Markdown
Member

for STT services that support language detection, the languages will be stored in source_languages with the dominant one in language. this model doesn't provide word-level language detection however, so source_text will remain empty

@chenghao-mou chenghao-mou requested a review from a team April 19, 2026 21:49
Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration bot left a comment

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 4 additional findings.

Open in Devin Review

@tinalenguyen tinalenguyen merged commit adecb0c into main Apr 20, 2026
27 checks passed
@tinalenguyen tinalenguyen deleted the tina/deepgram-flux-stt branch April 20, 2026 01:48
Copy link
Copy Markdown
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.

Scope detected:

  • Plugin change: Deepgram STTv2 flux-general-multi model support (language detection, language_hint option, source_languages propagation).
  • Minor core change: docstring clarification for SpeechData.source_languages in livekit-agents/livekit/agents/stt/stt.py.

A follow-up PR will be opened on livekit/agents-js shortly.


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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(deepgram): support flux-general-multi and language_hint in STTv2

4 participants