import React from 'react'; import { Cpu, Terminal, ShieldAlert } from 'lucide-react'; import { motion } from 'framer-motion'; interface VLMReasoningPanelProps { report: string; } const VLMReasoningPanel: React.FC = ({ report }) => { if (!report) return null; // Format the report for better display const lines = report.split(' | '); return (

Visual Physics Analysis

{lines.map((line, i) => { const [q, a] = line.split(' | A: '); const questionText = q?.replace('Q: ', '') || 'System Query'; const answerText = a || 'N/A'; const isSuspicious = answerText.toLowerCase().includes('inconsistent') || answerText.toLowerCase().includes('yes') || answerText.toLowerCase().includes('unnatural'); return (
{questionText}
{isSuspicious && }

{answerText}

); })}
Engine Status: Active
Version 1.4.2
); }; export default VLMReasoningPanel;