Skip to content

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

1.3 KB
Raw Blame
"use client";

// Groups the provider detail page's "extra" sections — playground + param
// filters — behind a single import/render call from ProviderDetailPageClient.tsx.
// Extracted so the frozen host file stays within the file-size ratchet
// (#6649 review follow-up: keeps ProviderDetailPageClient.tsx at its ≤784 cap).

import ProviderPlaygroundPanel from "./ProviderPlaygroundPanel";
import ProviderParamFilterSection from "./ProviderParamFilterSection";
import ProviderInterceptionSection from "./ProviderInterceptionSection";
import ProviderCcAliasSection from "./ProviderCcAliasSection";

export default function ProviderExtraPanels({ providerId }: { providerId: string }) {
  return (
    <>
      {/* Playground panel — rendered for providers that declare serviceKinds */}
      <ProviderPlaygroundPanel providerId={providerId} />

      {/* Param filters — denylist/allowlist config per provider/model (#6625) */}
      <ProviderParamFilterSection providerId={providerId} />

      {/* Web search/fetch tool interception toggles (#3384/#7339) */}
      <ProviderInterceptionSection providerId={providerId} />

      {/* Claude Code discovery-alias gate — provider/model on/off/inherit */}
      <ProviderCcAliasSection providerId={providerId} />
    </>
  );
}