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 Footer component in AIChat to utilize a ref prop for chat input, enhancing component flexibility and maintaining consistency with recent refactorings.

Salman-Ahamed3038957eb0b7
diff --git a/packages/app/src/react/features/ai-chat/pages/ai-chat.tsx b/packages/app/src/react/features/ai-chat/pages/ai-chat.tsx
index 8df68da6..e83e0a96 100644
--- a/packages/app/src/react/features/ai-chat/pages/ai-chat.tsx
+++ b/packages/app/src/react/features/ai-chat/pages/ai-chat.tsx
@@ -190,9 +190,9 @@ const AIChat = () => {
smartScrollToBottom={smartScrollToBottom}
/>
<Footer
+ ref={chatInputRef}
clearError={clearError}
uploadError={uploadError}
- chatInputRef={chatInputRef}
scrollToBottom={scrollToBottom}
showScrollButton={showScrollButton}
submitDisabled={isChatCreating || isAgentLoading || uploadingFiles.size > 0}