refactor(research): update agents component to accept API data as props

This commit is contained in:
anthrodjear 2026-05-08 08:22:28 +03:00
parent dbdcb9211a
commit 5b0df7fa8b

View file

@ -2,14 +2,7 @@ import { IconBook, IconDatabase, IconCircleCheck, IconSparkles } from "@tabler/i
import { Badge } from "@/components/ui/badge"
import { Switch } from "@/components/ui/switch"
import { cn } from "@/lib/utils"
interface ResearchAgent {
id: string
name: string
active: boolean
progress: number
ram: string
}
import { ResearchAgent } from "@/api/research"
interface ResearchAgentsProps {
agents: ResearchAgent[]