From 46e220f28b05854f8ad52f6e662302a9b72b7c79 Mon Sep 17 00:00:00 2001
From: Hoan Luu Huu <110280845+xquanluu@users.noreply.github.com>
Date: Fri, 3 Oct 2025 21:10:13 +0700
Subject: [PATCH] support deepgram flux (#569)
* support deepgram flux
* wip
---
.../internal/views/applications/speech-selection.tsx | 8 ++++----
src/containers/internal/views/speech-services/form.tsx | 8 ++++----
src/vendor/index.tsx | 6 +++---
src/vendor/types.ts | 4 ++--
4 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/src/containers/internal/views/applications/speech-selection.tsx b/src/containers/internal/views/applications/speech-selection.tsx
index fd103c6..d23bef5 100644
--- a/src/containers/internal/views/applications/speech-selection.tsx
+++ b/src/containers/internal/views/applications/speech-selection.tsx
@@ -36,7 +36,7 @@ import {
VENDOR_RIMELABS,
VENDOR_OPENAI,
VENDOR_INWORLD,
- VENDOR_DEEPGRAM_RIVER,
+ VENDOR_DEEPGRAM_FLUX,
VENDOR_RESEMBLE,
} from "src/vendor";
import {
@@ -370,7 +370,7 @@ export const SpeechProviderSelection = ({
};
const configRecognizer = () => {
- if (recogVendor === VENDOR_DEEPGRAM_RIVER) {
+ if (recogVendor === VENDOR_DEEPGRAM_FLUX) {
return;
}
getSpeechSupportedLanguagesAndVoices(
@@ -433,7 +433,7 @@ export const SpeechProviderSelection = ({
vendor.value !== VENDOR_SPEECHMATICS &&
vendor.value !== VENDOR_CUSTOM &&
vendor.value !== VENDOR_OPENAI &&
- vendor.value !== VENDOR_DEEPGRAM_RIVER &&
+ vendor.value !== VENDOR_DEEPGRAM_FLUX &&
vendor.value !== VENDOR_COBALT,
)}
onChange={(e) => {
@@ -616,7 +616,7 @@ export const SpeechProviderSelection = ({
)}
{recogVendor &&
!recogVendor.toString().startsWith(VENDOR_CUSTOM) &&
- recogVendor !== VENDOR_DEEPGRAM_RIVER &&
+ recogVendor !== VENDOR_DEEPGRAM_FLUX &&
recogLang && (
<>
diff --git a/src/containers/internal/views/speech-services/form.tsx b/src/containers/internal/views/speech-services/form.tsx
index 10164d0..be1246b 100644
--- a/src/containers/internal/views/speech-services/form.tsx
+++ b/src/containers/internal/views/speech-services/form.tsx
@@ -53,7 +53,7 @@ import {
VENDOR_VOXIST,
VENDOR_OPENAI,
VENDOR_INWORLD,
- VENDOR_DEEPGRAM_RIVER,
+ VENDOR_DEEPGRAM_FLUX,
VENDOR_RESEMBLE,
} from "src/vendor";
import { MSG_REQUIRED_FIELDS } from "src/constants";
@@ -543,7 +543,7 @@ export const SpeechServiceForm = ({ credential }: SpeechServiceFormProps) => {
vendor === VENDOR_CARTESIA ||
vendor === VENDOR_OPENAI ||
vendor === VENDOR_RESEMBLE ||
- vendor === VENDOR_DEEPGRAM_RIVER
+ vendor === VENDOR_DEEPGRAM_FLUX
? apiKey
: null,
}),
@@ -1009,7 +1009,7 @@ export const SpeechServiceForm = ({ credential }: SpeechServiceFormProps) => {
vendor !== VENDOR_COBALT &&
vendor !== VENDOR_SONIOX &&
vendor !== VENDOR_SPEECHMATICS &&
- vendor !== VENDOR_DEEPGRAM_RIVER &&
+ vendor !== VENDOR_DEEPGRAM_FLUX &&
vendor !== VENDOR_OPENAI &&
vendor != VENDOR_CUSTOM && (