Skip to content

Commit ccd6ebd

Browse files
feat: add Gladia as STT provider in settings UI (#2119)
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
1 parent f383715 commit ccd6ebd

File tree

3 files changed

+22
-5
lines changed

3 files changed

+22
-5
lines changed
11.8 KB
Loading

apps/desktop/src/components/settings/ai/stt/configure.tsx

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -477,11 +477,13 @@ function ProviderContext({ providerId }: { providerId: ProviderId }) {
477477
? `Use [Soniox](https://soniox.com) for transcriptions.`
478478
: providerId === "assemblyai"
479479
? `Use [AssemblyAI](https://www.assemblyai.com) for transcriptions.`
480-
: providerId === "fireworks"
481-
? `Use [Fireworks AI](https://fireworks.ai) for transcriptions.`
482-
: providerId === "custom"
483-
? `We only support **Deepgram compatible** endpoints for now.`
484-
: "";
480+
: providerId === "gladia"
481+
? `Use [Gladia](https://www.gladia.io) for transcriptions.`
482+
: providerId === "fireworks"
483+
? `Use [Fireworks AI](https://fireworks.ai) for transcriptions.`
484+
: providerId === "custom"
485+
? `We only support **Deepgram compatible** endpoints for now.`
486+
: "";
485487

486488
if (!content.trim()) {
487489
return null;

apps/desktop/src/components/settings/ai/stt/shared.tsx

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ export const displayModelId = (model: string) => {
3636
return "Universal";
3737
}
3838

39+
if (model === "solaria-1") {
40+
return "Solaria 1";
41+
}
42+
3943
if (model.startsWith("am-")) {
4044
const am = model as AmModel;
4145
if (am == "am-parakeet-v2") {
@@ -122,6 +126,17 @@ export const PROVIDERS = [
122126
models: ["universal"],
123127
requiresPro: false,
124128
},
129+
{
130+
disabled: false,
131+
id: "gladia",
132+
displayName: "Gladia",
133+
icon: (
134+
<img src="/assets/gladia.jpeg" alt="Gladia" className="size-5 rounded" />
135+
),
136+
baseUrl: "https://api.gladia.io",
137+
models: ["solaria-1"],
138+
requiresPro: false,
139+
},
125140
{
126141
disabled: false,
127142
id: "custom",

0 commit comments

Comments
 (0)