"use client"; import { Cpu, Wifi, WifiOff } from "lucide-react"; import { useHealth, useConfig } from "@/lib/hooks"; export function StatusCard() { const { data: health } = useHealth(); const { data: config } = useConfig(); const online = health?.status === "ok"; const model = config?.model || "—"; const provider = config?.provider || "custom"; return (
Hermes
{online ? ( ) : ( )}
Model
{model}
Provider
{provider}
); }