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]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
import { expectTypeOf, test } from "vitest";
import type { components } from "./schema";
import type { getClaudeCodePluginsList, userListCall } from "@/components/networking";
import type { TagNewRequest, TagUpdateRequest } from "@/components/tag_management/types";
test("API read functions expose the generated response contracts", () => {
expectTypeOf<Awaited<ReturnType<typeof userListCall>>>().toEqualTypeOf<components["schemas"]["UserListResponse"]>();
expectTypeOf<Awaited<ReturnType<typeof getClaudeCodePluginsList>>>().toEqualTypeOf<
components["schemas"]["ListPluginsResponse"]
>();
});
test("tag payloads accept the generated request contracts", () => {
expectTypeOf<TagNewRequest>().toEqualTypeOf<components["schemas"]["TagNewRequest"]>();
expectTypeOf<TagUpdateRequest>().toEqualTypeOf<components["schemas"]["TagUpdateRequest"]>();
});