- Fall back to Language.EN in _primary_detected_language when model is flux-general-en, preserving prior behavior on the default model. - Standardize example on DeepgramFluxSTTService.Settings and drop the now-redundant DeepgramFluxSTTSettings import. - Narrow the changed-behavior changelog to reflect that flux-general-en frames still carry Language.EN.
385 B
385 B
TranscriptionFrame.languageandInterimTranscriptionFrame.languageemitted byDeepgramFluxSTTServicenow reflect the language Deepgram detected for each turn (read from thelanguagesfield on Flux'sTurnInfoevent). Onflux-general-multithis gives per-turn accuracy for downstream consumers (e.g. TTS voice selection).flux-general-encontinues to emitLanguage.EN.