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]

put back cache import utils

Alex Shoop3158de65e1f1
diff --git a/litellm/utils.py b/litellm/utils.py
index 3f6898194f9..8b2b7bffb58 100644
--- a/litellm/utils.py
+++ b/litellm/utils.py
@@ -59,6 +59,12 @@ import litellm.litellm_core_utils.json_validation_rule
import litellm.llms
import litellm.llms.gemini
from litellm._uuid import uuid
+# Import cached imports utilities
+from litellm.litellm_core_utils.cached_imports import (
+ get_coroutine_checker,
+ get_litellm_logging_class,
+ get_set_callbacks,
+)
from litellm.caching._internal_lru_cache import lru_cache_wrapper
from litellm.caching.caching import DualCache
from litellm.caching.caching_handler import CachingHandlerResponse, LLMCachingHandler