Skip to content

elevenlabs: deprecate STT model_id in favor of model#6378

Merged
u9g merged 1 commit into
mainfrom
jl/elevenlabs-stt-model-param
Jul 10, 2026
Merged

elevenlabs: deprecate STT model_id in favor of model#6378
u9g merged 1 commit into
mainfrom
jl/elevenlabs-stt-model-param

Conversation

@u9g

@u9g u9g commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Why

The ElevenLabs STT plugin takes model_id while the ElevenLabs TTS plugin takes model, which makes it easy to pass the wrong parameter name when configuring both from the same config shape. Reported via MCP docs feedback in Slack. This aligns STT with TTS (and with every other STT plugin's naming) without breaking existing code.

What

  • Add a model parameter to elevenlabs.STT — the new preferred spelling.
  • Keep model_id working as a deprecated alias: it maps onto model with a deprecation warning, matching the existing use_realtime deprecation pattern. If both are passed, model wins and a warning is logged.
  • Behavior is otherwise unchanged, including the scribe_v1 default.
  • Update the scribe example and the test fixture to use model; the existing suite passes.

Companion PRs: livekit/agents-js#2018 (same change for Node), livekit/web#5084 (docs cross-link).

@u9g u9g requested a review from a team as a code owner July 10, 2026 14:38

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Open in Devin Review

@u9g u9g force-pushed the jl/elevenlabs-stt-model-param branch from 763db55 to 7365458 Compare July 10, 2026 14:44
@u9g u9g merged commit 69bd94e into main Jul 10, 2026
23 checks passed
@u9g u9g deleted the jl/elevenlabs-stt-model-param branch July 10, 2026 18:46
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.

2 participants