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: remove unused asyncio imports (F401)

Julio Quinteros Pro9b5eddda171f
diff --git a/litellm/integrations/custom_guardrail.py b/litellm/integrations/custom_guardrail.py
index 56288ec5653..4a1e3e41e96 100644
--- a/litellm/integrations/custom_guardrail.py
+++ b/litellm/integrations/custom_guardrail.py
@@ -822,7 +822,6 @@ def log_guardrail_information(func):
- during_call
- post_call
"""
- import asyncio
import functools
import inspect
diff --git a/litellm/proxy/common_utils/performance_utils.py b/litellm/proxy/common_utils/performance_utils.py
index ec36f865cf1..5bfa6f31c7d 100644
--- a/litellm/proxy/common_utils/performance_utils.py
+++ b/litellm/proxy/common_utils/performance_utils.py
@@ -8,7 +8,6 @@ for line-by-line profiling.
See performance_utils.md for detailed usage examples and documentation.
"""
-import asyncio
import atexit
import cProfile
import functools