import { AgentState } from "@/lib/types";
export interface ProverbsCardProps {
state: AgentState;
setState: (state: AgentState) => void;
}
export function ProverbsCard({ state, setState }: ProverbsCardProps) {
return (
Proverbs
This is a demonstrative page, but it could be anything you want! 🪁
{state.proverbs?.map((proverb, index) => (
{proverb}
))}
{state.proverbs?.length === 0 && (
No proverbs yet. Ask the assistant to add some!
)}
);
}