You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"You have reached the maximum number of scheduled queries for your plan. Please upgrade to continue.",
520
-
variant: "destructive",
521
-
});
478
+
toastSonner.error(
479
+
"You have reached the maximum number of scheduled queries for your plan. Please upgrade to continue."
480
+
);
522
481
return;
523
482
}
524
483
@@ -568,10 +527,9 @@ export function AIChatInterface({
568
527
thrownewError(error.error||"Failed to schedule query");
569
528
}
570
529
571
-
toast({
572
-
title: "Query Scheduled",
573
-
description: `Your query has been scheduled for ${monitorFrequency} monitoring with ${selectedModels.length} AI models (${creditsRequired} credits per run). Check the Monitoring tab for details.`,
574
-
});
530
+
toastSonner.success(
531
+
`Your query has been scheduled for ${monitorFrequency} monitoring with ${selectedModels.length} AI models (${creditsRequired} credits per run). Check the Monitoring tab for details.`
532
+
);
575
533
updateQueryCount();
576
534
setTimeout(()=>{
577
535
window.location.assign(`/dashboard/library`);
@@ -629,10 +587,9 @@ export function AIChatInterface({
description: `Your ${mode} analysis is processing using ${selectedModels.length} AI models (${credits_used} credits used). You'll be redirected to results when complete.`,
635
-
});
590
+
toastSonner.success(
591
+
`Your ${mode} analysis is processing using ${selectedModels.length} AI models (${credits_used} credits used). You'll be redirected to results when complete.`
592
+
);
636
593
637
594
setIsAnalyzing(false);
638
595
setTimeout(()=>{
@@ -645,12 +602,9 @@ export function AIChatInterface({
0 commit comments