Skip to content

feat(rime): add coda model support#1523

Merged
davidzhao merged 1 commit into
mainfrom
mood-shouted-catboat
May 17, 2026
Merged

feat(rime): add coda model support#1523
davidzhao merged 1 commit into
mainfrom
mood-shouted-catboat

Conversation

@rosetta-livekit-bot
Copy link
Copy Markdown
Contributor

@rosetta-livekit-bot rosetta-livekit-bot Bot commented May 17, 2026

Summary

Adds support for Rime's coda TTS model to livekit-plugins-rime, alongside the existing mistv2, mistv3, and arcana models.

Coda mirrors Arcana's chunked HTTP and WebSocket streaming paths but intentionally does not expose temperature, top_p, or repetition_penalty. Its server-side payload accepts only lang and max_tokens (plus samplingRate on the chunked endpoint).

Notable details:

  • New _CodaOptions dataclass (max_tokens, lang, sample_rate) wired through _TTSOptions, _model_params, TTS.__init__, update_options, and ChunkedStream._run.
  • _timeout_for_model returns the 4-minute Arcana timeout for coda as well.
  • Default speaker is lyra when speaker is unset and model="coda".
  • Public constructor and update_options signatures are unchanged; temperature / top_p / repetition_penalty are silently ignored for coda (same pattern Mist already uses for the Arcana-only kwargs).

Test plan

  • make check (format, lint, mypy) passes
  • Smoke-tested chunked HTTP path against the live Rime API — rime.TTS(model="coda").synthesize(...) returns audio with expected sample rate and final-frame flag
  • Smoke-tested WebSocket streaming path against the live Rime API — rime.TTS(model="coda", use_websocket=True).stream() streams audio and ends cleanly
  • Added integration entry id="rime-coda" in tests/test_tts.py::SYNTHESIZE_TTS (requires RIME_API_KEY + DEEPGRAM_API_KEY and toxiproxy)

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 17, 2026

🦋 Changeset detected

Latest commit: a8e4559

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

This PR includes changesets to release 31 packages
Name Type
@livekit/agents Patch
@livekit/agents-plugin-rime 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-elevenlabs 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-phonic Patch
@livekit/agents-plugin-resemble Patch
@livekit/agents-plugin-runway Patch
@livekit/agents-plugin-sarvam Patch
@livekit/agents-plugin-silero Patch
@livekit/agents-plugins-test Patch
@livekit/agents-plugin-trugen Patch
@livekit/agents-plugin-xai 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

Copy link
Copy Markdown
Contributor

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

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 potential bugs to report.

View in Devin Review to see 2 additional findings.

Open in Devin Review

@davidzhao davidzhao merged commit 01da76a into main May 17, 2026
9 checks passed
@davidzhao davidzhao deleted the mood-shouted-catboat branch May 17, 2026 05:00
@github-actions github-actions Bot mentioned this pull request May 17, 2026
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