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]

384 B
Raw Blame
"use client";

import useAuthorized from "@/app/(dashboard)/hooks/useAuthorized";
import { EmbeddedLens } from "@/components/lens/EmbeddedLens";

export default function LensPage() {
  const { accessToken, userRole, isViewOnly } = useAuthorized();
  if (!accessToken) return null;
  return <EmbeddedLens accessToken={accessToken} userRole={userRole ?? ""} readOnly={isViewOnly} />;
}