Skip to content

Conversation

@thomasyuill-livekit
Copy link
Contributor

@thomasyuill-livekit thomasyuill-livekit commented Dec 28, 2025

PR Summary

Problem

README and comments state agentName is for LiveKit Cloud Sandbox, which is misleading because it's also necessary if you're testing with an agent that requires explicit dispatch. Agent's exported form Agent Builder default to explicit dispatch

Testing an agent using explicit dispatch requires you modify agentName in app-config.ts file which causes a git diff. This git diff could be accidentally checked in.

Solution

Update README and comments to indicate agentName is part of agent dispatch configuration.

By implementing AGENT_NAME in .env.local this value will not impact git diff's or cause it to be accidentally checked in.

Key changes:

  • .env.example: Added AGENT_NAME environment variable with documentation explaining automatic vs explicit dispatch modes
  • README.md: Updated documentation to reflect the new configuration structure and environment variable
  • app-config.ts:
    • Read agentName from local env vars, default to undefined
    • update comments to clearly indicate config value purposes

@vercel
Copy link

vercel bot commented Dec 28, 2025

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

Project Deployment Review Updated (UTC)
sandbox-voice-assistant Ready Ready Preview Dec 28, 2025 4:57pm

@thomasyuill-livekit thomasyuill-livekit self-assigned this Dec 28, 2025
@thomasyuill-livekit thomasyuill-livekit marked this pull request as draft December 28, 2025 17:00
@thomasyuill-livekit thomasyuill-livekit marked this pull request as ready for review December 29, 2025 01:31
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