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: add toast notifications for API key deletion feedback

Muhammad Hamza Khanfdf513b8aa11
diff --git a/packages/app/src/react/features/vault/components/user-models.tsx b/packages/app/src/react/features/vault/components/user-models.tsx
index 20eac991..82077b02 100644
--- a/packages/app/src/react/features/vault/components/user-models.tsx
+++ b/packages/app/src/react/features/vault/components/user-models.tsx
@@ -150,9 +150,11 @@ const DeleteUserModelKeyDialog = ({
{ modelId: apiKey },
{
onSuccess: () => {
+ successToast('API key deleted successfully');
onClose();
},
onError: (error) => {
+ errorToast('Failed to delete API key');
console.error('Failed to delete API key:', error);
},
},