import React from 'react'; export const INTENT_COPY = { understand: { icon: '📚', title: 'Understand something', description: 'Explain a concept, doc, or idea clearly.', placeholder: 'What would you like me to explain?', }, decide: { icon: '🧠', title: 'Make a decision', description: 'Compare options and recommend next steps.', placeholder: 'What decision are you trying to make?', }, summarize: { icon: '📝', title: 'Create a summary', description: 'Turn content into a concise, useful recap.', placeholder: 'What should I summarize?', }, research: { icon: '🔍', title: 'Research a topic', description: 'Gather sources and synthesize key points.', placeholder: 'What topic should I research?', }, }; export function AgentIntentTiles({ value, onChange, }) { const intents = ['understand', 'decide', 'summarize', 'research']; return (
What do you want help with?
{intents.map((intent) => { const c = INTENT_COPY[intent]; const active = value === intent; return (); })}
); }