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 { describe, expect, it } from "vitest";
import { routingStatusToBlocked } from "./routingStatus";
describe("routingStatusToBlocked", () => {
it.each([
["active", false],
["paused", true],
] as const)("maps %s to blocked=%s", (status, expected) => {
expect(routingStatusToBlocked(status)).toBe(expected);
});
it("returns undefined when there is no status filter", () => {
expect(routingStatusToBlocked(null)).toBeUndefined();
});
});