import React from 'react'; export default function InfoPanel({ isOpen, onToggle, activeSession, lastModel, lastTokenCount, selectedModel, onModelChange, models }) { return (
{/* Header */}
{isOpen && Session Info}
{isOpen && (
{/* Model selector */}
{/* Session details */}
{activeSession ? (
) : (

No session selected

)}
{/* Last response stats */}
{lastModel ? (
0 ? lastTokenCount.toLocaleString() : '—'} />
) : (

No response yet

)}
)} {!isOpen && (
M S
)}
); } function Section({ title, children }) { return (

{title}

{children}
); } function InfoRow({ label, value, mono, truncate, accent }) { return (
{label} {value}
); } function IconHint({ title, children }) { return (
{children}
); }