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]

276 B
Raw Blame
from __future__ import annotations

from dataclasses import dataclass

from proxy_client import ProxyClient


@dataclass(frozen=True, slots=True)
class LoadClient:
    proxy: ProxyClient


def build_client(proxy: ProxyClient) -> LoadClient:
    return LoadClient(proxy=proxy)