Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

605 B
Raw Blame
"use client";

import ApiKeysDashboard from "@/app/(dashboard)/api-keys/ApiKeysDashboard";
import useAuthorized from "@/app/(dashboard)/hooks/useAuthorized";
import LoadingScreen from "@/components/common_components/LoadingScreen";
import { Suspense } from "react";

function ApiKeysPageContent() {
  const { isLoading, isAuthorized } = useAuthorized();
  if (isLoading || !isAuthorized) {
    return <LoadingScreen />;
  }
  return <ApiKeysDashboard />;
}

export default function ApiKeysPage() {
  return (
    <Suspense fallback={<LoadingScreen />}>
      <ApiKeysPageContent />
    </Suspense>
  );
}