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]

Apply isort formatting to router.py imports

Tim Elfrink56b2c914edbe
diff --git a/litellm/router.py b/litellm/router.py
index f56caafa06c..5972b06f01a 100644
--- a/litellm/router.py
+++ b/litellm/router.py
@@ -143,12 +143,17 @@ from litellm.types.router import (
)
from litellm.types.services import ServiceTypes
from litellm.types.utils import (
+ CustomPricingLiteLLMParams,
GenericBudgetConfigType,
LiteLLMBatch,
)
from litellm.types.utils import ModelInfo
from litellm.types.utils import ModelInfo as ModelMapInfo
-from litellm.types.utils import ModelResponseStream, StandardLoggingPayload, Usage, CustomPricingLiteLLMParams
+from litellm.types.utils import (
+ ModelResponseStream,
+ StandardLoggingPayload,
+ Usage,
+)
from litellm.utils import (
CustomStreamWrapper,
EmbeddingResponse,