"use client" import { Activity, CircleCheck, Route, ShieldCheck, Zap } from "lucide-react" import { AnimatedList } from "@/components/ui/animated-list" import { cn } from "@/lib/utils" const routingEvents = [ { icon: , title: "Routed to Claude Sonnet", meta: "342ms · 8.2k tokens", accent: "bg-blue-600/15 text-blue-600 dark:text-blue-400", }, { icon: , title: "Prompt cache hit", meta: "Saved $0.018 · 42ms", accent: "bg-amber-500/15 text-amber-500", }, { icon: , title: "Latency policy applied", meta: "Gemini Flash · 118ms", accent: "bg-blue-500/15 text-blue-500", }, { icon: , title: "Fallback completed", meta: "OpenAI → Mistral · 621ms", accent: "bg-emerald-500/15 text-emerald-500", }, { icon: , title: "Guardrail passed", meta: "No sensitive data detected", accent: "bg-cyan-500/15 text-cyan-500", }, ] export function RoutingActivity() { return (
{routingEvents.map((event) => (
{event.icon} {event.title} {event.meta}
))}
) }