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]

156 B
Raw Blame
from __future__ import annotations

from typing import Final

from pydantic import TypeAdapter

JSON_OBJECT_ADAPTER: Final = TypeAdapter(dict[str, object])