-
Notifications
You must be signed in to change notification settings - Fork 259
chore: tidyup V2 #290
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: tidyup V2 #290
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
| // for LiveKit Cloud Sandbox | ||
| sandboxId: undefined, | ||
| agentName: undefined, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 I look forward to this sandbox config logic getting much simpler in the future!
e05d610 to
b7d411b
Compare
f7be5f4 to
edb66b7
Compare
edb66b7 to
269835d
Compare
269835d to
397793a
Compare
397793a to
ebb52d3
Compare
ebb52d3 to
5a69663
Compare
5a69663 to
bea811b
Compare
Restores: #286
Resolves: https://linear.app/livekit/issue/DGN-191/react-starter-clean-up-ui-code
Resolves: https://linear.app/livekit/issue/CLT-2149/integrate-tokensource-into-agent-starter-react
Fixes explicit dispatch using
agentNameconfig #288During the clean up, in an effort to simplify the template, I erased the undefined properties
sandboxIdandagentNamefromapp-config.tsbecause it was not clear that these are properties specific to LiveKit Cloud Sandbox and I felt they added noise to the code base.What I didn't realize was that in the Sandbox environment
getAppConfigfilters the config object fetched from LiveKit Cloud based on the keys present inapp-config.ts. When I deletedagentName: undefinedit no longer accepted it as a valid config key.sandboxIdis an exception. It's never filtered. It is set directly, before the filter check, so when I tested removing thesandbox: undefinedit had no effect in the staging environment. I incorrectly assumed that removingagentName: undefinedwas fine too.