import { useButlerInsights } from '../../hooks/useButlerInsights'; import { InsightsSection } from './InsightsSection'; import { ProposalsSection } from './ProposalsSection'; import { MemorySection } from './MemorySection'; interface ButlerPanelProps { agentId: string | undefined; } export function ButlerPanel({ agentId }: ButlerPanelProps) { const { painPoints, proposals, loading, error, refresh } = useButlerInsights(agentId); if (!agentId) { return (
请先选择一个 Agent