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.

Add enableMetaMessages property to ChatbotEmbodimentModal

Salman-Ahamed448da914f558
diff --git a/packages/app/src/react/features/embodiments/chatbot-embodiment-modal.tsx b/packages/app/src/react/features/embodiments/chatbot-embodiment-modal.tsx
index c06e42d2..f6693d0e 100644
--- a/packages/app/src/react/features/embodiments/chatbot-embodiment-modal.tsx
+++ b/packages/app/src/react/features/embodiments/chatbot-embodiment-modal.tsx
@@ -127,6 +127,7 @@ export interface ChatbotEmbodimentModalProps {
introMessage?: string;
isFullScreen?: boolean;
allowFileAttachments?: boolean;
+ enableMetaMessages?: boolean;
};
};
/**
@@ -199,6 +200,7 @@ const ChatbotEmbodimentModal: React.FC<ChatbotEmbodimentModalProps> = ({
const isFullScreen = embodimentData?.properties?.isFullScreen;
const allowFileAttachments = embodimentData?.properties?.allowFileAttachments;
+ const enableMetaMessages = embodimentData?.properties?.enableMetaMessages;
const isUsingFullScreen = Boolean(isFullScreen);
/**
@@ -222,6 +224,7 @@ const ChatbotEmbodimentModal: React.FC<ChatbotEmbodimentModalProps> = ({
isChatOnly: ${isUsingFullScreen},
${isUsingFullScreen ? 'containerId: "smythos-chatbot-container",' : ''}
allowAttachments: ${allowFileAttachments || false},
+ enableMetaMessages: ${enableMetaMessages || false},
// ... additional settings ...
introMessage: '${
embodimentData?.properties?.introMessage || 'Hello, how can I assist you today?'