import { useState } from "react"; import { Copy, Check, AlertCircle, ThumbsUp, ThumbsDown, Loader2, } from "lucide-react"; import { Button } from "../ui"; import { VERIFICATION_PROMPT } from "./provider-config"; interface VerificationStepProps { providerName: string; verificationResult?: string; isCheckingRecall?: boolean; onStartChecking: () => void; onComplete: () => void; } export function VerificationStep({ providerName, verificationResult, isCheckingRecall = false, onStartChecking, onComplete, }: VerificationStepProps) { const [copied, setCopied] = useState(false); const handleCopy = async () => { await navigator.clipboard.writeText(VERIFICATION_PROMPT); setCopied(true); setTimeout(() => setCopied(false), 2000); }; return (
Let's test if your memory is working correctly by asking the AI about you
Copy this prompt:
{VERIFICATION_PROMPT}
Paste this prompt in {providerName}. Once you ask, click the button below to detect the recall.
Make sure you've asked "{VERIFICATION_PROMPT}" in {providerName}. We're listening for the recall.