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]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
put back cache import utils
Alex Shoop3158de65e1f1
diff --git a/litellm/utils.py b/litellm/utils.pyindex 3f6898194f9..8b2b7bffb58 100644--- a/litellm/utils.py+++ b/litellm/utils.py@@ -59,6 +59,12 @@ import litellm.litellm_core_utils.json_validation_ruleimport litellm.llmsimport litellm.llms.geminifrom 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_wrapperfrom litellm.caching.caching import DualCachefrom litellm.caching.caching_handler import CachingHandlerResponse, LLMCachingHandler