Skip to content

feat(livekit-voice-agent): update to Lightning v3.1 Pro#52

Merged
harshitajain165 merged 2 commits into
mainfrom
feat/update-livekit-lightning-v3-1-pro
Jun 1, 2026
Merged

feat(livekit-voice-agent): update to Lightning v3.1 Pro#52
harshitajain165 merged 2 commits into
mainfrom
feat/update-livekit-lightning-v3-1-pro

Conversation

@harshitajain165

Copy link
Copy Markdown
Collaborator

Summary

Updates the LiveKit voice agent cookbook example to match the changes in livekit/agents#5799:

  • agent.py: switch model from lightning-v3.1lightning_v3.1_pro and default VOICE_ID from sophiameher (the default Pro voice)
  • README.md: update TTS code snippet and configuration table to reflect new model and default voice

Test plan

  • Run python agent.py console to verify audio output with Lightning v3.1 Pro

🤖 Generated with Claude Code

…S model

- Switch model from lightning-v3.1 to lightning_v3.1_pro (underscore notation)
- Update default VOICE_ID from sophia to meher (Pro model default voice)
- Update README code example and configuration table accordingly

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@vercel

vercel Bot commented May 21, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
smallest-showcase Ready Ready Preview, Comment Jun 1, 2026 9:56am

Request Review

@entelligence-ai-pr-reviews

Copy link
Copy Markdown

EntelligenceAI PR Summary

This PR updates the default TTS voice and model version for the LiveKit voice agent in both the implementation and documentation.

  • Changed default VOICE_ID from 'sophia' to 'meher' in agent.py
  • Upgraded SmallestAI TTS model from 'lightning-v3.1' to 'lightning_v3.1_pro' in agent.py
  • Synchronized README.md configuration table and code snippet to reflect both updated defaults

Confidence Score: 5/5 - Safe to Merge

Safe to merge — this PR makes straightforward configuration updates to the LiveKit voice agent, changing the default VOICE_ID from 'sophia' to 'meher' and upgrading the SmallestAI TTS model string from 'lightning-v3.1' to 'lightning_v3.1_pro' in agent.py. Both the implementation and README.md documentation are kept in sync, which is exactly the right practice for maintaining accurate developer-facing documentation. No logic, security, or runtime concerns were identified across the two changed files.

Key Findings:

  • The change to VOICE_ID in agent.py is a simple default value substitution from 'sophia' to 'meher' — no logic paths, conditionals, or downstream processing are affected beyond passing the string to the TTS provider.
  • The model version bump from 'lightning-v3.1' to 'lightning_v3.1_pro' is a configuration string update; assuming the SmallestAI API supports this model identifier (which the PR implies), this carries no code-level risk.
  • README.md is correctly synchronized with both the configuration table and the code snippet to reflect the new defaults, preventing documentation drift that could confuse users.
Files requiring special attention
  • agent.py
  • README.md

…ively via WebSocket

The livekit-plugins-smallestai plugin now has native WebSocket streaming
(streaming=True capability), so the StreamAdapter + SentenceTokenizer
wrapper is no longer needed. Drop unused tts/tokenize imports and update
the README to reflect the simpler setup.
@harshitajain165
harshitajain165 merged commit 84001d1 into main Jun 1, 2026
2 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.

1 participant