Skip to content

[BUG] Deepgram TTS Provider Missing listModels - Cannot Select ModelΒ #1056

@CarlPremium

Description

@CarlPremium

Describe the bug

The Deepgram TTS provider is missing the listModels capability, preventing users from selecting a model and using the provider.

Current behavior:
 - Model dropdown is empty (shows "Select a default model from the provider")
 - Clicking "Test" shows error: Error: No model selected
 - Deepgram TTS is unusable even with valid API key

Expected behavior:
 - Model dropdown should show: Aura 2, Aura 1, Aura (Legacy)
 - Users can select model + voice and generate speech successfully

---

Root Cause:

File: packages/stage-ui/src/stores/providers.ts (Deepgram provider ~line 939)

The provider has listVoices but is missing listModels capability. UI checks for this to display model options.

---

Fix:

Add listModels to Deepgram provider capabilities:

  1 listModels: async () => {
  2   return [
  3     {
  4       id: 'aura-2',
  5       name: 'Aura 2',
  6       provider: 'deepgram-tts',
  7       description: 'Latest generation Aura model',
  8       contextLength: 0,
  9       deprecated: false,
 10     },
 11     {
 12       id: 'aura-1',
 13       name: 'Aura 1',
 14       provider: 'deepgram-tts',
 15       description: 'First generation Aura model',
 16       contextLength: 0,
 17       deprecated: false,
 18     },
 19     {
 20       id: 'aura',
 21       name: 'Aura (Legacy)',
 22       provider: 'deepgram-tts',
 23       description: 'Original Aura model',
 24       contextLength: 0,
 25       deprecated: true,
 26     },
 27   ]
 28 },

---

Testing:

 1. Go to Settings β†’ Modules β†’ Speech
 2. Select Deepgram provider
 3. Verify model dropdown shows 3 models
 4. Select model + voice, test speech generation
 5. Should work without errors

---

System Info

System:
    OS: Windows 11 10.0.26200
    CPU: (12) x64 12th Gen Intel(R) Core(TM) i5-12450HX
    Memory: 2.97 GB / 15.71 GB
  Binaries:
    Node: 24.13.1 - C:\Program Files\nodejs\node.EXE
    npm: 11.8.0 - C:\Program Files\nodejs\npm.CMD
    pnpm: 10.30.3 - C:\Users\Usuario\AppData\Local\pnpm\pnpm.CMD
  Browsers:
    Chrome: 145.0.7632.117
    Edge: Chromium (140.0.3485.66)

Validations

  • Follow our Code of Conduct
  • Read the Contributing Guide.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.

Contributions

  • I am willing to submit a PR to fix this issue
  • I am willing to submit a PR with failing tests (actually just go ahead and do it, thanks!)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions