Never stop coding. Free MIT AI gateway: one endpoint, 375 providers (150+ free), 1,400+ models Kimi, Claude, GPT, Gemini, GLM, DeepSeek, MiniMax. Works with Claude Code, Codex, Cursor, OpenCode, Cline & Copilot. Quota-aware auto-fallback, RTK+Caveman compression saves 15-95% tokens, MCP/A2A, Desktop/PWA. Built by 900+ contributors
TypeScript a2aai-agentsai-gatewayanthropicclaudeclaude-codeclinecodexcopilotcursordeepseekfree-aigeminikimillm-gatewaymcpopenaiopenai-proxyqwentoken-saver
"use client";
import { ComboLiveStudio } from "./ComboLiveStudio";
import { useLiveComboStatus } from "@/hooks/useLiveDashboard";
import { useProviderBreakerHealth } from "@/hooks/useProviderBreakerHealth";
/**
* Combo/Routing Studio (Tela B) — live combo cascade.
*
* Thin route wrapper: subscribes to the `combo` WS channel via
* `useLiveComboStatus` and feeds the events into the studio. `LiveComboEvent` is
* structurally compatible with the studio's `ComboEventInput`. The studio shows a
* "Live disabled" banner + empty state when the WS feed is off, so this degrades
* gracefully. `useProviderBreakerHealth` overlays the real circuit-breaker state
* (U1b) from the monitoring health snapshot — fail-soft, so it never breaks the
* cascade when the endpoint is unavailable.
*/
export default function ComboLiveStudioPage() {
const { comboEvents, activeCombos, isConnected } = useLiveComboStatus();
const { providerHealth, connectionHealth } = useProviderBreakerHealth();
return (
<div className="p-4 h-[calc(100dvh-6rem)] min-h-[480px]">
<ComboLiveStudio
comboEvents={comboEvents}
combos={[...activeCombos]}
isConnected={isConnected}
providerHealth={providerHealth}
connectionHealth={connectionHealth}
/>
</div>
);
}