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.

Update ErrorMessage component to include 'me' prop for ChatBubble

Salman-Ahamed968cb272b035
diff --git a/packages/app/src/react/features/ai-chat/components/chat-history.tsx b/packages/app/src/react/features/ai-chat/components/chat-history.tsx
index 8d648b65..3bf4f102 100644
--- a/packages/app/src/react/features/ai-chat/components/chat-history.tsx
+++ b/packages/app/src/react/features/ai-chat/components/chat-history.tsx
@@ -98,5 +98,5 @@ export const ChatHistory: FC<ChatHistoryProps> = ({ agent, chatId, messages }) =
};
const ErrorMessage: FC<{ avatar?: string }> = ({ avatar }) => (
- <ChatBubble isError message={CHAT_ERROR_MESSAGE} avatar={avatar} />
+ <ChatBubble me={false} isError message={CHAT_ERROR_MESSAGE} avatar={avatar} />
);