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]

fix(router): drop duplicate Mapping import that fails ruff F811 (#35122)

ryan-crabbe-berribf5334bc59fa
diff --git a/litellm/router.py b/litellm/router.py
index 6336b12258b..69535d7c74a 100644
--- a/litellm/router.py
+++ b/litellm/router.py
@@ -31,7 +31,6 @@ from typing import (
Generator,
List,
Literal,
- Mapping,
Optional,
Set,
Tuple,