import { useConversation } from '../context/ConversationContext'; export default function ModelLoader() { const { state } = useConversation(); if (state.modelLoadStatus !== 'loading') return null; return (
🧠

Loading AI Model

Downloading and initializing Qwen2.5-0.5B directly in your browser via WebGPU. No data leaves your device.

{state.modelLoadProgress}%
{state.modelLoadSteps.length > 0 && (
{state.modelLoadSteps.map((step, i) => (
{step}
))}
)}
); }