"use client"; import { Bell } from "lucide-react"; import Logo from "@/components/icons/openrag-logo"; import { UserNav } from "@/components/user-nav"; import { useTask } from "@/contexts/task-context"; import { cn } from "@/lib/utils"; export function Header() { const { tasks, toggleMenu } = useTask(); // Calculate active tasks for the bell icon const activeTasks = tasks.filter( (task) => task.status === "pending" || task.status === "running" || task.status === "processing", ); return (
{/* Logo/Title */}
OpenRAG
{/* Knowledge Filter Dropdown */} {/* */} {/* GitHub Star Button */} {/* */} {/* Discord Link */} {/* */} {/* Task Notification Bell */} {/* Separator */}
); }