// app/(app)/providers/page.tsx import { Cloud, CheckCircle, XCircle, AlertCircle } from 'lucide-react' const PROVIDERS = [ { id: 'ollama', name: 'Ollama', icon: '🦙', color: '#4A9EFF', endpoint: 'http://localhost:11434' }, { id: 'openai', name: 'OpenAI', icon: '🤖', color: '#10A37F', endpoint: 'https://api.openai.com/v1' }, { id: 'anthropic', name: 'Anthropic', icon: '🔷', color: '#8B5CF6', endpoint: 'https://api.anthropic.com' }, { id: 'gemini', name: 'Gemini', icon: '✨', color: '#F5A623', endpoint: 'https://generativelanguage.googleapis.com' }, { id: 'deepseek', name: 'DeepSeek', icon: '🌊', color: '#FF1D6C', endpoint: 'https://api.deepseek.com' }, { id: 'groq', name: 'Groq', icon: '⚡', color: '#F97316', endpoint: 'https://api.groq.com/openai' }, { id: 'mistral', name: 'Mistral', icon: '🌫️', color: '#6366F1', endpoint: 'https://api.mistral.ai' }, ] async function getGatewayProviders() { try { const res = await fetch('http://127.0.0.1:8787/v1/providers', { next: { revalidate: 30 } }) if (!res.ok) return null return await res.json() } catch { return null } } export default async function ProvidersPage() { const data = await getGatewayProviders() return (
7 providers connected through the BlackRoad tokenless gateway
💡 Start the gateway to see live provider status: br gateway start