(action: typeof quickActions[0])
| 47 | }; |
| 48 | |
| 49 | const handleQuickAction = (action: typeof quickActions[0]) => { |
| 50 | if (currentPipeline) { |
| 51 | if (action.label === 'Run Pipeline') { |
| 52 | // Handle Run Pipeline differently - actually execute it |
| 53 | usePipelineStore.getState().runPipeline(currentPipeline.id); |
| 54 | } else { |
| 55 | sendMessage(action.prompt, currentPipeline.id); |
| 56 | } |
| 57 | } |
| 58 | }; |
| 59 | |
| 60 | return ( |
| 61 | <div className="border-t border-border p-4"> |