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 chatId assignment in AIChat component to use agentSettings for improved data consistency

Salman-Ahamed875b0d1ef767
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 2e6d7ce9..8a3ac093 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
@@ -60,7 +60,7 @@ const AIChat = () => {
clearFiles,
} = useFileUpload({
agentId: agentId || '',
- chatId: agentSettingsData?.settings?.lastConversationId,
+ chatId: agentSettings?.lastConversationId,
});
const {