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]

374 B
Raw Blame
import { getProxyUISettings } from "@/components/networking";

export const fetchProxySettings = async (accessToken: string | null) => {
  if (!accessToken) return null;

  try {
    const proxySettings = await getProxyUISettings(accessToken);
    return proxySettings;
  } catch (error) {
    console.error("Error fetching proxy settings:", error);
    return null;
  }
};