Skip to content

fix(elevenlabs): include stream request flags#1770

Open
rosetta-livekit-bot[bot] wants to merge 1 commit into
1.5.0from
nests-smugly-suturing
Open

fix(elevenlabs): include stream request flags#1770
rosetta-livekit-bot[bot] wants to merge 1 commit into
1.5.0from
nests-smugly-suturing

Conversation

@rosetta-livekit-bot

@rosetta-livekit-bot rosetta-livekit-bot Bot commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Summary

Testing

  • pnpm prettier --check plugins/elevenlabs/src/tts.ts .changeset/elevenlabs-stream-flags.md
  • pnpm --filter @livekit/agents build
  • pnpm --filter @livekit/agents-plugin-elevenlabs build

Ported from livekit/agents#6031

Original PR description

These flags is being used in livekit multi-turn-input but was not passed on to stream api. Fixes livekit/agents#6027

@changeset-bot

changeset-bot Bot commented Jun 11, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 50a4d43

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 34 packages
Name Type
@livekit/agents-plugin-elevenlabs Patch
@livekit/agents Patch
@livekit/agents-plugin-anam Patch
@livekit/agents-plugin-assemblyai Patch
@livekit/agents-plugin-baseten Patch
@livekit/agents-plugin-bey Patch
@livekit/agents-plugin-cartesia Patch
@livekit/agents-plugin-cerebras Patch
@livekit/agents-plugin-deepgram Patch
@livekit/agents-plugin-fishaudio Patch
@livekit/agents-plugin-google Patch
@livekit/agents-plugin-hedra Patch
@livekit/agents-plugin-hume Patch
@livekit/agents-plugin-inworld Patch
@livekit/agents-plugin-lemonslice Patch
@livekit/agents-plugin-liveavatar Patch
@livekit/agents-plugin-livekit Patch
@livekit/agents-plugin-minimax Patch
@livekit/agents-plugin-mistral Patch
@livekit/agents-plugin-mistralai Patch
@livekit/agents-plugin-neuphonic Patch
@livekit/agents-plugin-openai Patch
@livekit/agents-plugin-perplexity Patch
@livekit/agents-plugin-phonic Patch
@livekit/agents-plugin-resemble Patch
@livekit/agents-plugin-rime Patch
@livekit/agents-plugin-runway Patch
@livekit/agents-plugin-sarvam Patch
@livekit/agents-plugin-silero Patch
@livekit/agents-plugin-soniox Patch
@livekit/agents-plugin-tavus Patch
@livekit/agents-plugin-trugen Patch
@livekit/agents-plugin-xai Patch
@livekit/agents-plugins-test Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@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 found 1 potential issue.

Open in Devin Review

Comment on lines 859 to +863
text: this.inputText,
model_id: this.#opts.model,
voice_settings: voiceSettings,
apply_text_normalization: this.#opts.applyTextNormalization,
...extraParams,

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.

🚩 ChunkedStream body params are a subset of what multiStreamUrl sends

The multiStreamUrl function (line 147-168) sends several parameters that are not included in the ChunkedStream body: enable_ssml_parsing, inactivity_timeout, sync_alignment, auto_mode, and pronunciation_dictionary_locators. Some of these are WebSocket-specific (e.g. inactivity_timeout), but others like enable_ssml_parsing and pronunciation_dictionary_locators could potentially apply to the REST endpoint too. This is pre-existing behavior not introduced by this PR, but worth noting since the PR's intent is to add "missing" flags — there may still be additional ones missing for the chunked stream path.

(Refers to lines 858-863)

Open in Devin Review

Was this helpful? React with 👍 or 👎 to provide feedback.

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.

0 participants