Skip to content

SmythOS Studio: Open-Source Visual AI Agent Builder and deployable runtime stack from SmythOS. Start with an intuitive drag-and-drop workspace, extend with custom code, and deploy your agents anywhere — local, cloud, or edge — with full governance and control.

Remove unnecessary console log and DOM manipulation in openAlexaEmbodiment function

Muhammad Hamza Khana3f1cbff95d5
diff --git a/packages/app/src/builder-ui/pages/builder/agent-settings.ts b/packages/app/src/builder-ui/pages/builder/agent-settings.ts
index b2df9a20..d8ba4798 100644
--- a/packages/app/src/builder-ui/pages/builder/agent-settings.ts
+++ b/packages/app/src/builder-ui/pages/builder/agent-settings.ts
@@ -1109,17 +1109,7 @@ export async function openAlexaEmbodiment() {
actions,
EMBODIMENT_DESCRIPTIONS.alexa.title,
EMBODIMENT_DESCRIPTIONS.alexa.tooltipTitle,
- ).then(() => {
- console.log('openEmbodimentDialog');
- const talkToAgentWrapper = document.querySelector(
- '#alexa-embodiment-wrapper #talk-to-agent-wrapper',
- );
- const isProd = window.location.hostname.includes('smythos.com');
-
- if (talkToAgentWrapper && isProd) {
- talkToAgentWrapper.classList.add('hidden');
- }
- });
+ );
// on prod domain change, update the url
builderStore.subscribe(