import type { AgentOutput } from '@/lib/types'; interface AgentOutputPanelProps { output: AgentOutput; } export default function AgentOutputPanel({ output }: AgentOutputPanelProps) { return (

{output.agent}

{output.confidence > 0 && ( Confidence: {(output.confidence * 100).toFixed(0)}% )}
{output.summary || 'No output'}
); }