Add function_id tracking and enable JSON mode for all AI functions
This commit is contained in:
@@ -395,7 +395,7 @@ export default function Keywords() {
|
||||
}]);
|
||||
// Async task - open progress modal
|
||||
hasReloadedRef.current = false;
|
||||
progressModal.openModal(result.task_id, 'Auto-Clustering Keywords');
|
||||
progressModal.openModal(result.task_id, 'Auto-Clustering Keywords', 'ai-auto-cluster-01');
|
||||
// Don't show toast - progress modal will show status
|
||||
} else {
|
||||
// Log success with results
|
||||
@@ -870,6 +870,7 @@ export default function Keywords() {
|
||||
message={progressModal.progress.message}
|
||||
details={progressModal.progress.details}
|
||||
taskId={progressModal.taskId || undefined}
|
||||
functionId={progressModal.functionId}
|
||||
onClose={() => {
|
||||
progressModal.closeModal();
|
||||
// Reload once when modal closes if task was completed
|
||||
|
||||
Reference in New Issue
Block a user