Skip to content

fix(gradium): update parameters - #7014

Merged
tinalenguyen merged 1 commit into
livekit:mainfrom
timpratim:gradium-plugin-fixes
Aug 27, 2026
Merged

fix(gradium): update parameters#7014
tinalenguyen merged 1 commit into
livekit:mainfrom
timpratim:gradium-plugin-fixes

Conversation

@timpratim

Copy link
Copy Markdown
Contributor
  • Remove "LLM" from all: the plugin exports no LLM, so 'from livekit.plugins.gradium import *' raised AttributeError.
  • Make GRADIUM_MODEL_ENDPOINT effective for TTS and STT: the parameter's non-None default meant the documented env var was never consulted. Default endpoints are unchanged when neither is set.
  • Allow switching voices via update_options(voice_id=...): the existing voice parameter is a fallback that the voice_id default always shadowed.
  • Change the default TTS voice to 4SZHfMpw-p46Ywgs (Harper), a voice from the public flagship catalog, matching the published LiveKit docs.

…, support voice_id in update_options

- Remove "LLM" from __all__: the plugin exports no LLM, so
  'from livekit.plugins.gradium import *' raised AttributeError.
- Make GRADIUM_MODEL_ENDPOINT effective for TTS and STT: the parameter's
  non-None default meant the documented env var was never consulted.
  Default endpoints are unchanged when neither is set.
- Allow switching voices via update_options(voice_id=...): the existing
  voice parameter is a fallback that the voice_id default always shadowed.
- Change the default TTS voice to 4SZHfMpw-p46Ywgs (Harper), a voice from
  the public flagship catalog, matching the published LiveKit docs.
@timpratim
timpratim requested a review from a team as a code owner August 27, 2026 13:16
@CLAassistant

CLAassistant commented Aug 27, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@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.

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.

thank you for the PR!

@tinalenguyen
tinalenguyen merged commit 94d1e21 into livekit:main Aug 27, 2026
17 checks passed
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.

3 participants