Skip to content

fix(rime): remove Arcana model support - #2253

Merged
tinalenguyen merged 4 commits into
livekit:mainfrom
naszzz:rime-arcana-migration
Aug 20, 2026
Merged

fix(rime): remove Arcana model support#2253
tinalenguyen merged 4 commits into
livekit:mainfrom
naszzz:rime-arcana-migration

Conversation

@naszzz

@naszzz naszzz commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Remove Arcana from the Rime plugin runtime paths, public model types, examples, and tests.
  • Change the no-argument Rime TTS model to Coda while keeping the existing Luna speaker.
  • Keep Lyra for callers that explicitly select Coda without a speaker.
  • Apply repetition_penalty, temperature, top_p, max_tokens, and other supported request controls to Coda.
  • Add a release changeset with the migration deadline.

⚠️ Rime's public cloud cutoff is August 15, 2026 at 12:00 UTC. Set modelId to coda when you upgrade. Luna is available on Coda, so the no-argument path keeps its established speaker for voice continuity.

Migration notice: https://docs.rime.ai/docs/arcana-sunset

@naszzz
naszzz requested a review from a team as a code owner August 10, 2026 19:29
@changeset-bot

changeset-bot Bot commented Aug 10, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: e73b5b3

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

This PR includes changesets to release 39 packages
Name Type
@livekit/agents Patch
@livekit/agents-plugin-rime Patch
@livekit/agents-plugin-anam Patch
@livekit/agents-plugin-anthropic Patch
@livekit/agents-plugin-assemblyai Patch
@livekit/agents-plugin-azure 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-did 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-krisp 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-protoface Patch
@livekit/agents-plugin-resemble 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-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

@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

devin-ai-integration[bot]

This comment was marked as resolved.

devin-ai-integration[bot]

This comment was marked as resolved.

@naszzz
naszzz force-pushed the rime-arcana-migration branch from c40bc26 to 1e6af9c Compare August 12, 2026 03:00
@naszzz naszzz changed the title fix(rime): migrate Arcana defaults to Coda fix(rime): remove Arcana model support Aug 12, 2026

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

View 4 additional findings in Devin Review.

Open in Devin Review

Comment thread plugins/rime/src/tts.ts
Comment on lines +92 to 97
if (opts.modelId === 'coda') {
if (opts.repetition_penalty !== undefined) params.repetition_penalty = opts.repetition_penalty;
if (opts.temperature !== undefined) params.temperature = opts.temperature;
if (opts.top_p !== undefined) params.top_p = opts.top_p;
if (opts.max_tokens !== undefined) params.max_tokens = opts.max_tokens;
if (opts.timeScaleFactor !== undefined) params.timeScaleFactor = opts.timeScaleFactor;

@devin-ai-integration devin-ai-integration Bot Aug 12, 2026

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.

🟡 Voice tuning settings are silently ignored when the older Rime voice model is still selected

Tuning values such as speed, randomness and length limits are dropped from the request (modelParams at plugins/rime/src/tts.ts:92-109) whenever the older arcana model name is passed, so speech is generated with default settings instead of the configured ones and no error is raised.
Impact: Users who still specify the old Rime model get audio that ignores their configured voice tuning, with no warning.

Parameter branch no longer matches the legacy model id

modelId is typed TTSModels | string (plugins/rime/src/tts.ts:56), so 'arcana' is still accepted at runtime even though it was removed from the TTSModels union (plugins/rime/src/models.ts:6). Previously modelParams had an opts.modelId === 'arcana' branch that forwarded repetition_penalty, temperature, top_p, max_tokens and timeScaleFactor. After this change only 'coda' and *mist* are matched, so an arcana request falls through and emits only lang. Those keys are also explicitly excluded from the passthrough loop in fetchPayload (plugins/rime/src/tts.ts:139-144), so they cannot reach the payload by any other route. The result is a silently under-configured request rather than an explicit error, which contradicts the stated intent of keeping the legacy runtime path working during the compatibility window. Either restore the legacy branch or reject the legacy model id with a clear error.

Open in Devin Review

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

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Intentional under the revised scope. This PR now removes Arcana runtime support and directs users to Coda.

Comment thread .changeset/bright-codas-speak.md Outdated
@@ -0,0 +1,6 @@
---
'@livekit/agents': minor

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.

could these be switched to patch?

Comment thread plugins/rime/src/tts.ts
if (opts.lang !== undefined) params.lang = opts.lang;

if (opts.modelId === 'arcana') {
if (opts.modelId === 'coda') {

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.

same comment as the python pr, we can throw a warning when a user uses the arcana model

@naszzz
naszzz requested a review from tinalenguyen August 19, 2026 23:32
@tinalenguyen
tinalenguyen merged commit ef7159c into livekit:main Aug 20, 2026
5 of 6 checks passed
@github-actions github-actions Bot mentioned this pull request Aug 20, 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.

3 participants