Compare commits

...

7 Commits

Author SHA1 Message Date
Hoan Luu Huu
0a7bbaac52 Merge branch 'main' into feat/elevenlabs_stt 2025-12-01 15:53:33 +07:00
Hoan Luu Huu
83fe40227b Merge branch 'main' into feat/elevenlabs_stt 2025-11-19 11:32:50 +07:00
Hoan HL
51f50aa261 wip 2025-11-18 17:21:34 +07:00
Hoan HL
50a31a0644 wip 2025-11-18 16:08:53 +07:00
Hoan HL
12104df9b1 support elevenlabs stt 2025-11-18 16:07:22 +07:00
Hoan HL
51bb871350 Merge branch 'main' of https://github.com/jambonz/jambonz-webapp 2025-11-18 13:48:46 +07:00
Hoan HL
00923ea26b fix outbound call routing race condition show default lcr route set that user cannot delete 2025-11-10 10:39:28 +07:00
2 changed files with 9 additions and 5 deletions

View File

@@ -588,7 +588,6 @@ export const SpeechProviderSelection = ({
options={sttVendorOptions.filter(
(vendor) =>
vendor.value != VENDOR_WELLSAID &&
vendor.value != VENDOR_ELEVENLABS &&
vendor.value != VENDOR_WHISPER &&
vendor.value !== VENDOR_RESEMBLE &&
vendor.value !== VENDOR_CUSTOM,

View File

@@ -295,6 +295,7 @@ export const SpeechServiceForm = ({ credential }: SpeechServiceFormProps) => {
case VENDOR_DEEPGRAM:
return "Model ID";
case VENDOR_CARTESIA:
case VENDOR_ELEVENLABS:
return "TTS Model ID";
default:
return "Model";
@@ -304,6 +305,7 @@ export const SpeechServiceForm = ({ credential }: SpeechServiceFormProps) => {
const getSTTModelLabelByVendor = (vendor: Lowercase<Vendor>) => {
switch (vendor) {
case VENDOR_CARTESIA:
case VENDOR_ELEVENLABS:
return " STT Model ID";
case VENDOR_DEEPGRAM:
return "Model ID";
@@ -468,12 +470,15 @@ export const SpeechServiceForm = ({ credential }: SpeechServiceFormProps) => {
...(vendor === VENDOR_COBALT && {
cobalt_server_uri: cobaltServerUri || null,
}),
...((vendor === VENDOR_ELEVENLABS ||
vendor === VENDOR_WHISPER ||
...((vendor === VENDOR_WHISPER ||
vendor === VENDOR_INWORLD ||
vendor === VENDOR_RIMELABS) && {
model_id: ttsModelId || null,
}),
...(vendor === VENDOR_ELEVENLABS && {
model_id: ttsModelId || null,
stt_model_id: sttModelId || null,
}),
...(vendor === VENDOR_ELEVENLABS && {
api_uri: apiUri || null,
}),
@@ -1071,8 +1076,7 @@ export const SpeechServiceForm = ({ credential }: SpeechServiceFormProps) => {
vendor !== VENDOR_PLAYHT &&
vendor !== VENDOR_RIMELABS &&
vendor !== VENDOR_INWORLD &&
vendor !== VENDOR_RESEMBLE &&
vendor !== VENDOR_ELEVENLABS && (
vendor !== VENDOR_RESEMBLE && (
<label htmlFor="use_for_stt" className="chk">
<input
id="use_for_stt"
@@ -1992,6 +1996,7 @@ export const SpeechServiceForm = ({ credential }: SpeechServiceFormProps) => {
)}
{(vendor == VENDOR_OPENAI ||
vendor === VENDOR_DEEPGRAM ||
vendor === VENDOR_ELEVENLABS ||
(sttCheck && vendor === VENDOR_CARTESIA)) &&
sttModels.length > 0 && (
<fieldset>