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.

fix: streamline agent creation process and update button styling

Muhammad Hamza Khan7ccecba1c4a4
diff --git a/packages/app/src/builder-ui/pages/builder/agent-settings.ts b/packages/app/src/builder-ui/pages/builder/agent-settings.ts
index 693fac1f..45670b2f 100644
--- a/packages/app/src/builder-ui/pages/builder/agent-settings.ts
+++ b/packages/app/src/builder-ui/pages/builder/agent-settings.ts
@@ -241,13 +241,12 @@ function createAgent() {
}
};
- // agentCreateBtn.onclick = createAgentClick; // * We'll remove the New Agent creation form
- createAgentClick();
if (templateId) {
await delay(100);
- createAgentClick();
}
+
+ createAgentClick();
});
}
diff --git a/packages/app/src/react/features/agents/components/agentCard/modals/AgentDeleteConfirmationModal.tsx b/packages/app/src/react/features/agents/components/agentCard/modals/AgentDeleteConfirmationModal.tsx
index 5109d1a7..de8aa093 100644
--- a/packages/app/src/react/features/agents/components/agentCard/modals/AgentDeleteConfirmationModal.tsx
+++ b/packages/app/src/react/features/agents/components/agentCard/modals/AgentDeleteConfirmationModal.tsx
@@ -35,7 +35,7 @@ export function AgentDeleteConfirmationModal({
<div className="pt-4">
<div className="flex justify-end items-center flex-row gap-2">
<CustomButton
- className="ml-auto rounded-lg"
+ className="ml-auto rounded-sm"
handleClick={onConfirm}
label={isDeleting ? 'Deleting...' : 'Delete'}
addIcon