Implement V2 AI functions and enhance progress handling
- Added support for new V2 functions: `auto_cluster_v2` and `generate_ideas_v2`, including backend logic and API endpoints. - Updated model configuration to ensure V2 functions validate the presence of models before execution. - Enhanced progress modal to provide better feedback during asynchronous tasks, including task IDs for debugging. - Updated frontend components to integrate new V2 functionalities and improve user experience with clustering and idea generation.
This commit is contained in:
@@ -144,6 +144,12 @@ const tableActionsConfigs: Record<string, TableActionsConfig> = {
|
||||
icon: <BoltIcon className="w-4 h-4 text-warning-500" />,
|
||||
variant: 'secondary',
|
||||
},
|
||||
{
|
||||
key: 'keywords_clustering',
|
||||
label: 'Keywords Clustering',
|
||||
icon: <BoltIcon className="w-4 h-4 text-brand-500" />,
|
||||
variant: 'secondary',
|
||||
},
|
||||
],
|
||||
},
|
||||
'/planner/clusters': {
|
||||
@@ -160,6 +166,12 @@ const tableActionsConfigs: Record<string, TableActionsConfig> = {
|
||||
icon: <BoltIcon className="w-5 h-5" />,
|
||||
variant: 'primary',
|
||||
},
|
||||
{
|
||||
key: 'generate_ideas_v2',
|
||||
label: 'Generate Ideas V2',
|
||||
icon: <BoltIcon className="w-5 h-5" />,
|
||||
variant: 'primary',
|
||||
},
|
||||
],
|
||||
bulkActions: [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user