Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix(slng): expose speed in update_options#6175

Merged
tinalenguyen merged 1 commit into
livekit:mainfrom
adityajha2005:fix/slng-tts-update-options-missing-speed
Jun 20, 2026
Merged

fix(slng): expose speed in update_options#6175
tinalenguyen merged 1 commit into
livekit:mainfrom
adityajha2005:fix/slng-tts-update-options-missing-speed

Conversation

@adityajha2005

Copy link
Copy Markdown
Contributor

TTS.update_options accepted voice and language but silently dropped speed, even though speed is a first-class _TTSOptions field sent in the WebSocket init payload via build_tts_init_payload. Users who set speed at construction time had no way to change it afterward.

Fix: add speed to update_options and invalidate the connection pool when the value changes, consistent with how voice and language are handled.

Fixes #6174

@adityajha2005 adityajha2005 requested a review from a team as a code owner June 20, 2026 19:13

@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

@tinalenguyen tinalenguyen left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

lgtm, thanks!

@tinalenguyen tinalenguyen merged commit 6b803ed into livekit:main Jun 20, 2026
17 checks passed
osimhi213 added a commit to de-id/livekit-agents that referenced this pull request Jun 24, 2026
* upstream/main: (382 commits)
  chore(dep): update local-inference dep (livekit#6214)
  fix(agents): keep STT input anchor on the pipeline across handoff (livekit#6207)
  fix(google): clean up STT input frame task (livekit#6193)
  (xai realtime): set text modality (livekit#6198)
  chore(example): update otel trace example (livekit#6178)
  chore(elevenlabs): update `language_code` doc to remove error case (livekit#6197)
  disable eot connection error retry too (livekit#6196)
  chore(deps): update livekit dependency (livekit#6194)
  disable retry for eot errors (livekit#6195)
  [email protected] (livekit#6189)
  (assembly ai): add inference params (livekit#6185)
  fix(eot): restore timeout behavior for eot inference (livekit#6188)
  fix(google): reject tool calls when tool_choice="none" in realtime (livekit#6166)
  fix(slng): expose speed in update_options (livekit#6175)
  [email protected] (livekit#6170)
  feat(phonic): handle user text input (livekit#6169)
  docs(phonic): add forbid_speech_after_tool_call to README config table (livekit#6168)
  (inference): add assembly ai model (livekit#6162)
  (google): surface context exhaustion error (livekit#6144)
  (phonic): reuse ws connection across handoffs (livekit#6163)
  ...
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.

fix(slng): update_options missing speed parameter

2 participants