Skip to content

feat(models): offer newer ElevenLabs models in discovery - #1167

Merged
lfnovo merged 2 commits into
mainfrom
feat/elevenlabs-newer-models
Jul 19, 2026
Merged

feat(models): offer newer ElevenLabs models in discovery#1167
lfnovo merged 2 commits into
mainfrom
feat/elevenlabs-newer-models

Conversation

@lfnovo

@lfnovo lfnovo commented Jul 19, 2026

Copy link
Copy Markdown
Owner

Summary

Adds newer ElevenLabs models to model discovery (discover_elevenlabs_models()):

  • TTS: eleven_v3, eleven_flash_v2_5, eleven_flash_v2
  • STT: scribe_v2

Existing models are kept. Esperanto passes model_id straight through to the ElevenLabs API (its ElevenLabs provider _get_models() returns [] and forwards model_id), so no provider/registry changes are needed — our static discovery list is the only source of truth for what's offered.

classify_model_type already handles the new ids correctly via its substring patterns (eleven → text_to_speech, scribe → speech_to_text, STT checked first).

Test plan

  • ruff check and mypy clean on the changed file
  • uv run pytest tests/test_model_discovery.py tests/test_credentials_api.py — 32 passed (covers discovery + classify_model_type for elevenlabs/scribe)
  • Confirmed the new models work natively through Esperanto

Review in cubic

lfnovo added 2 commits July 19, 2026 09:49
Add eleven_v3, eleven_flash_v2_5, eleven_flash_v2 (TTS) and scribe_v2 (STT)
to ElevenLabs model discovery. Esperanto passes model_id through to the
ElevenLabs API, so no provider changes are required.
@lfnovo
lfnovo merged commit 37fe161 into main Jul 19, 2026
12 checks passed
@lfnovo
lfnovo deleted the feat/elevenlabs-newer-models branch July 19, 2026 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant