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]

344 B
Raw Blame
const STRATEGY_LABELS: Readonly<Record<string, string>> = {
  "simple-shuffle": "Simple Shuffle",
  "least-busy": "Least Busy",
  "usage-based-routing": "Usage Based",
  "latency-based-routing": "Latency Based",
  priority: "Priority",
};

export const formatStrategyLabel = (strategy: string): string => STRATEGY_LABELS[strategy] ?? strategy;