Skip to content

feat: list all realtime models in demo dropdown#125

Merged
AdirAmsalem merged 2 commits intomainfrom
demo-add-all-realtime-models
Apr 30, 2026
Merged

feat: list all realtime models in demo dropdown#125
AdirAmsalem merged 2 commits intomainfrom
demo-add-all-realtime-models

Conversation

@eilon-decart
Copy link
Copy Markdown
Contributor

@eilon-decart eilon-decart commented Apr 30, 2026

Summary

  • The Realtime model selector in packages/sdk/index.html only listed 4 models. Adds all canonical realtime models from src/shared/model.ts plus the *-latest aliases.
  • Options grouped via <optgroup> into Latest (server-resolved), Canonical, and Deprecated aliases — old names kept since they still resolve through the SDK's alias map.
  • Default selection updated from the deprecated mirage_v2 to canonical lucy-2.1.

Linear

Platform: https://linear.app/decart/issue/PLA-227/demo-list-all-realtime-models-in-sdk-demo-dropdown

Test plan

  • Open packages/sdk/index.html in Chrome and confirm the dropdown shows all three groups
  • Pick a canonical model (e.g. lucy-2.1-vton) and verify camera + connect flow still works
  • Pick a deprecated alias (e.g. mirage) and verify it still connects (deprecation warning expected in console)

Note

Low Risk
Demo-only UI/configuration changes; no SDK runtime logic or security-sensitive behavior is modified.

Overview
Updates the SDK demo (packages/sdk/index.html) realtime model selector to list all supported realtime models, grouped into Latest (server-resolved), Canonical, and Deprecated aliases.

Changes the demo’s default model from deprecated mirage_v2 to canonical lucy-2.1, while keeping legacy aliases available for compatibility testing.

Reviewed by Cursor Bugbot for commit 5550974. Bugbot is set up for automated code reviews on this repo. Configure here.

Adds canonical and latest-alias realtime models to the demo's model
selector, grouped by status; keeps deprecated names so existing
bookmarked configurations still work via the SDK alias map.
@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented Apr 30, 2026

Open in StackBlitz

npm i https://pkg.pr.new/@decartai/sdk@125

commit: 5550974

Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 85d2b94. Configure here.

Comment thread packages/sdk/index.html
The dropdown default was changed to lucy-2.1 but the `model` variable
was still initialized to the deprecated mirage_v2, so users connecting
without touching the dropdown would silently use mirage_v2.
@AdirAmsalem AdirAmsalem merged commit 669c612 into main Apr 30, 2026
5 checks passed
@AdirAmsalem AdirAmsalem deleted the demo-add-all-realtime-models branch April 30, 2026 09:11
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.

2 participants