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.
JavaScript a2aagentic-aiai-agentsdevtoolsmcp-clientn8n-alternativeno-codeopen-sourceorchestrationsmythosvisual-builder
Refactor message rendering logic in Chat component
Salman-Ahamedad02da02e546
diff --git a/packages/app/src/react/features/ai-chat/components/chat.tsx b/packages/app/src/react/features/ai-chat/components/chat.tsxindex d30472c3..f45ee8bd 100644--- a/packages/app/src/react/features/ai-chat/components/chat.tsx+++ b/packages/app/src/react/features/ai-chat/components/chat.tsx@@ -29,8 +29,8 @@ export const Chat: FC<ChatProps> = ({scrollToBottom,}) => {if (isReplying || isRetrying) return <ReplyLoader />;- if (me && !hideMessage) return <UserMessage message={message} files={files} />;if (type === 'thinking') return <ThinkingMessage message={message} avatar={avatar} />;+ if (me) return <UserMessage message={message} files={files} hideMessage={hideMessage} />;return !hideMessage ? (<SystemMessage